createFollowSplineAnimator

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
so1odo1o
Posts: 32
Joined: Sat Apr 03, 2010 10:29 am

createFollowSplineAnimator

Post by so1odo1o »

When my program calls createFollowSplineAnimator, I use 0 for the first parameter as start time. The problem is that once it is called, it appears at the end location, automatically. My question is that if I use 0 for the start time, does that mean it will run the path 0 ms after the progam is launched or when the function is called. I am assuming the first is true since it appears at the end automatically..

Another question is what starttime value should I use so that the animation begins at the starting node wherever/whenever it is called.
randomMesh
Posts: 1186
Joined: Fri Dec 29, 2006 12:04 am

Re: createFollowSplineAnimator

Post by randomMesh »

so1odo1o wrote:When my program calls createFollowSplineAnimator, I use 0 for the first parameter as start time.
That's wrong. The Demo in the example directory does it like this

Code: Select all

sa = sm->createFollowSplineAnimator(device->getTimer()->getTime(), points);
"Whoops..."
Post Reply