md2 animations play all animations instead of choosen one
Posted: Tue Dec 26, 2006 8:53 pm
Hi.
I use irrlicht 1.2 in linux and in the hello world demo, there is:
node->setMD2Animation ( scene::EMAT_STAND );
Which I think should do STANDing animation but it does all animations in md2 file (stand then walk then run ...) all. No matter which EMAT_* i choose, all animations are played one after another in a loop. I also try specify animation by string name "stand", "walk", ... but the result is the same.
node->setMD2Animation ( "stand" );
What's wrong
I use irrlicht 1.2 in linux and in the hello world demo, there is:
node->setMD2Animation ( scene::EMAT_STAND );
Which I think should do STANDing animation but it does all animations in md2 file (stand then walk then run ...) all. No matter which EMAT_* i choose, all animations are played one after another in a loop. I also try specify animation by string name "stand", "walk", ... but the result is the same.
node->setMD2Animation ( "stand" );
What's wrong