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.
createFollowSplineAnimator
-
- Posts: 1186
- Joined: Fri Dec 29, 2006 12:04 am
Re: createFollowSplineAnimator
That's wrong. The Demo in the example directory does it like thisso1odo1o wrote:When my program calls createFollowSplineAnimator, I use 0 for the first parameter as start time.
Code: Select all
sa = sm->createFollowSplineAnimator(device->getTimer()->getTime(), points);
"Whoops..."