help for position of 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
yodathegreat
Posts: 9
Joined: Tue Dec 26, 2006 12:16 am

help for position of createFollowSplineAnimator

Post by yodathegreat »

Hi,

I use "createFollowSplineAnimator" for animed some Particle
It's work very fine.

Code: Select all

anim=d_smgr->createFollowSplineAnimator(d_device->getTimer()->getTime(),points,0.05f); 
But I would like have the position in realtime of this animation ?

but anim->getPosition() don't existe, have you a solution ?

best regards
Yodathegreat
vitek
Bug Slayer
Posts: 3919
Joined: Mon Jan 16, 2006 10:52 am
Location: Corvallis, OR

Post by vitek »

Animators don't do anything unless you have added them to a scene node. If you have applied the animator to some scene node, you just ask the scene node for its position.

Travis
Post Reply