A search of the forum found this small discussion:
However my problem is how do I play an animation loop, e.g.buhatkj:
anybody else notice when working with custom md2's(non-standard animations) that now(in 0.5, this wasn't the case in 0.4.2) there are 8* the number of frames according to irrlicht than there are actually in the file??
i've noticed the same thing with ms3d files, only the multiplier is different, in milkshape files there is like 1000* the number of actual frames according to irrlicht....
what's up with that? anybody know why this is?
-Ted
niko:
This is currently because the method only accepts integer values as frame time, no floats. But this is subject to change.
buhatkj:
ahh so it'sd because of how it interpolates then right?
so it multiplies it by the number of fps to get the interpolated frame count?
interesting...
m_Model_Node->setFrameLoop(0, 10)
if the framerate is constantly changing?
I may be missing something here so if someone could explain how to play a loop of animation between two defined frames I'd be grateful, I'm sure quite a few folk must have done this in their game?
Cheers Handle