cuestion FlyStraightAnimator

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
moekkog
Posts: 44
Joined: Tue Feb 24, 2009 6:02 am

cuestion FlyStraightAnimator

Post by moekkog »

I have this code

Code: Select all

trans =	smgr->createFlyStraightAnimator(inicio, destino, 1500, false);
	pieza->addAnimator(trans);
and i want to know is there any function that can tellme if the animation has stoped, i dont want to use a counter to know how much time has pass i would be easier with a function is there any?
vitek
Bug Slayer
Posts: 3919
Joined: Mon Jan 16, 2006 10:52 am
Location: Corvallis, OR

Post by vitek »

The ISceneNodeAnimator interface has the function hasFinished() if you use Irrlicht trunk.

Travis
Post Reply