[ SOLVED ] Moving a camera with createFlyStartAnimator

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
r3i
Posts: 147
Joined: Wed Jun 29, 2005 10:15 am
Location: Sorrento
Contact:

[ SOLVED ] Moving a camera with createFlyStartAnimator

Post by r3i »

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.
"We work in the dark, we do what we can, we give what we have, Our doubt is our passion and our passion is our task. The rest: is art of Madness" (H.James)
Post Reply