[ SOLVED ] Moving a camera with createFlyStartAnimator
Posted: Mon Mar 06, 2006 1:25 am
Hi guys,
I've made a camera that moves around.
Now I wanna to do this thing: when I'm near an hotspot, if user clicks with the mouse, camera moves in a fixed position.
I've done this with createFlyStraightAnimator, but my camera don't preserve the target...I would move it without canghing the wiev, such as the point where it targets is a Billboard.
How can I using CreateFlyStraightAnimator?
And... how can I know when an animation is ended?
Thanks
----------------------------------------------------------------------------------
In main loop check if there is an animation, then i took from eventmanager the target and i update target every frame.
I've made a camera that moves around.
Now I wanna to do this thing: when I'm near an hotspot, if user clicks with the mouse, camera moves in a fixed position.
I've done this with createFlyStraightAnimator, but my camera don't preserve the target...I would move it without canghing the wiev, such as the point where it targets is a Billboard.
How can I using CreateFlyStraightAnimator?
And... how can I know when an animation is ended?
Thanks
----------------------------------------------------------------------------------
In main loop check if there is an animation, then i took from eventmanager the target and i update target every frame.