[1.2]setMD2Animation(x), plays x and animations after x

You discovered a bug in the engine, and you are sure that it is not a problem of your code? Just post it in here. Please read the bug posting guidelines first.
Post Reply
white tiger
Posts: 269
Joined: Tue Oct 31, 2006 3:24 pm
Contact:

[1.2]setMD2Animation(x), plays x and animations after x

Post by white tiger »

hi. i think that in the new version of irrlicht (1.2) setMD2Animation with an arbitrary name is broken. for example we have a md2 model. this md2 model contain three groups of animations in the follow order:

-stand
-run
-die

if you call setMd2Animation("die") (with looping or not) all ok, but if you call setMd2Animation("run") irrlicht executes run-die if not looping and run-die-run-die-run-die-... if looping. if you call setMd2Animation("stand") irrlicht plays stand-run-die. it worked fine in irrlicht 1.1
itx
Posts: 9
Joined: Thu Aug 10, 2006 12:46 pm

Post by itx »

UP! ;-)
Same problem with .md2 and with .x models ;(
white tiger
Posts: 269
Joined: Tue Oct 31, 2006 3:24 pm
Contact:

Post by white tiger »

hi.
can some irrlicht's authors help us, please? i setted frame number manually (setFrameLoop) instead of using setMD2Animation. Thanks
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

Hmm, there had been some changes to the .x animations, maybe bitplane knows something?
bitplane
Admin
Posts: 3204
Joined: Mon Mar 28, 2005 3:45 am
Location: England
Contact:

Post by bitplane »

sounds like this bug. if that doesn't fix the x problems, can someone please post a mesh for testing?
Submit bugs/patches to the tracker!
Need help right now? Visit the chat room
white tiger
Posts: 269
Joined: Tue Oct 31, 2006 3:24 pm
Contact:

Post by white tiger »

for md2 i don't use EMAT_STAND, ma I pass directly the animation name. I can upload the .md2 model file, if this can be helpful
Post Reply