Hi guys,
i would to know if there is a way to know when a createFlyStraightAnimator ends to animate a node.
I have a cube and it goes on a line and then it stops. Can I know when it stops or must I have a timer?
"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)
You could use a timer, or each frame you could check to see if it's stopped moving yet either by checking its position against its position last frame, or checking whether it's reached its destination.
IrrSpintz has an implemenation of callbacks from the animators, you could pull the code from there and implement it into Irrlicht. I also think hybrid made patches for the particle changes in IrrSpintz.