Question about movement

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
Fromez

Question about movement

Post by Fromez »

I have looked at all the tutorials and I understand how to move a sceneNode from one point to another point, Once. (ex. FlyStraightAnimator)

But what if I want to move the scene node through a series of moves?
Example: I want to move a scene node from point A to point B then from point B to Point C.

Is there some built in way of doing this in the engine?
If so how??
saigumi
Posts: 921
Joined: Fri Aug 22, 2003 11:31 am
Location: St. Louis, MO USA
Contact:

Post by saigumi »

Nope, waypoints are not a native part of the engine.

You would need to set up your own waypoint system, store it, then check to see if your object has hit that point.

In psuedo-code, it would be:

CreateFlyAnimator();
---repeat---
At Destination?
yes - CreateFlyAnimator(next)
no - continue
-------------
Crud, how do I do this again?
Post Reply