Page 1 of 1

cuestion FlyStraightAnimator

Posted: Tue Apr 21, 2009 5:59 am
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?

Posted: Thu Apr 23, 2009 2:47 am
by vitek
The ISceneNodeAnimator interface has the function hasFinished() if you use Irrlicht trunk.

Travis