Hi everyone,
I've got a problem with moving a targetcamera:
I have this very little piece of code:
public function render(e:Event):void
{
camera.moveLeft(200); //camera is a
targetcamera targeting the
only object in the scene
trace(camera.z);
away.view.render();
}
when I run it I can see my object zooming out slowly.
I wrote the trace as a test and I verified that the z coordinate of
the camera changes!!!
Can someone tell me why this happens?
And how can I stop that?
I tried adjusting the coordinate right after the moveLeft but I had a
strange behaviour and so I removed it...
Hope someone can help me.
Thanx in advance =)