Page 1 of 1

How can i set an animation to a .x mesh

Posted: Wed Sep 14, 2005 5:04 pm
by Dar Future
Hi i loaded a .x mesh into a level and i want to make that mesh walk, i only found setMD2Animation() function.
I want a setXAnimation(9 fuction kind a like.
Thanks in advance.

Posted: Wed Sep 14, 2005 8:29 pm
by Elise
Well you can use:

node->setFrameLoop(startFrame, endFrame);

but then you have to have the start and endframes for each animation.

Posted: Wed Sep 14, 2005 8:46 pm
by majc
I tryed that but didnt work i think the modeler used a bipped animation that its not suported by irrlicht.