I have a node that I want to travel from point A to point B. Once it reaches point B, I want it to then animate itself to point C.
Doing this isn't possible by just adding 2 animators (A to B, B to C). How would I then check if the node has reached from A to point B and then call the animation from B to C.
Thanks.
Animations In Sequence
greetings i believe what you are looking for is a spline animator. check out:
ISceneManager::createFollowSplineAnimator
you load it with a sequence of points and the node will follow them. alternatively, you could use two fly straight animators.
ISceneManager::createFlyStraightAnimator
once you reach point B, add a new fly straight animator to point C.
ISceneManager::createFollowSplineAnimator
you load it with a sequence of points and the node will follow them. alternatively, you could use two fly straight animators.
ISceneManager::createFlyStraightAnimator
once you reach point B, add a new fly straight animator to point C.
-
- Posts: 1186
- Joined: Fri Dec 29, 2006 12:04 am
http://irrlicht.sourceforge.net/phpBB2/viewtopic.php?t=36078garrittg wrote:spline animator
"Whoops..."