addAnimator differs in 0.7?

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
melon2004
Posts: 13
Joined: Tue Jul 27, 2004 6:53 pm

addAnimator differs in 0.7?

Post by melon2004 »

is it just me, or something has changed from version 0.6 to 0.7 in Irrlicht engine with addAnimator() method?

In 0.6 version code like this worked as expected and all three nodes were rotating:

Code: Select all

anim = smgr->createRotationAnimator(core::vector3df(0,0.4,0));
node1->addAnimator(anim);
node2->addAnimator(anim);
node3->addAnimator(anim);
anim->drop();
After some time I had to return to my project - this time with 0.7 and I've noticed that this time only FIRST (node1) node is rotating. After changing code to

Code: Select all

anim = smgr->createRotationAnimator(core::vector3df(0,0.4,0));
node1->addAnimator(anim);
anim = smgr->createRotationAnimator(core::vector3df(0,0.4,0));
node2->addAnimator(anim);
anim = smgr->createRotationAnimator(core::vector3df(0,0.4,0));
node3->addAnimator(anim);
anim->drop();
it works back again, but that - of course - it is not "ellegant solution". Any ideas?

(IMPORTANT: I've changed computer and all software as well, so maybe that's the reason?)
Post Reply