Animation walk cycle frame skip/jump at the end

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
mikeem
Posts: 7
Joined: Wed May 01, 2013 5:37 pm
Location: A country called Germany

Animation walk cycle frame skip/jump at the end

Post by mikeem »

Hello everybody. I have an skeletal animation of a walk cycle which plays nice (for example) in fragmotion. But when I play it in Irrlicht using this:

Code: Select all

scene::IAnimatedMesh *mesh = sm->getMesh( "mywalk.ms3d" );
scene::IAnimatedMeshSceneNode *node = sm->addAnimatedMeshSceneNode( mesh );
… the looped walk cycle looks very chopped the moment the loop turns over, right between last and first frame so to speak. the animation there isn't smooth, it just jumps/skips from last to first frame. But when i watch the animation loop in fragmotion, it is smooth. I even watch frame by frame and the animation should loop smooth. anyone know whats going on here?


To be clear, the animation looks 99% ok, only the "transition" from last frame again back to first frame looks very harsh, as if there would be no intelligent transition/interpolation happening.
Post Reply