hey maybe it would help you .... now i took the camera3d instead of
springcam. it is easier to handle.
my code for mouselook is:
public function mouseMove(e:MouseEvent):void
{
if (mouseIsDown)
{
mouseMovementX = (e.stageX - lastMouseX) * mouseSpeed;
mouseMovementY = (e.stageY - lastMouseY) * mouseSpeed;
myCamera.rotationY = myCamera.rotationY + mouseMovementX;
if (myCamera.rotationX <= 60 && myCamera.rotationX >= -60)
{
myCamera.rotationX = myCamera.rotationX -
mouseMovementY;
}
if (myCamera.rotationX >= 60)
{
myCamera.rotationX --;
}
if (myCamera.rotationX <= -60)
{
myCamera.rotationX ++;
}
lastMouseX = e.stageX;
lastMouseY = e.stageY;
}
}
it works great = )
On 3 Aug., 13:24, Anton <[email protected]> wrote:
> How to do the same in away 3d lite?