differentiate the animation from a .x file (bones animation)

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
Jeevan Singla
Posts: 8
Joined: Mon Oct 16, 2006 4:02 pm
Location: India

differentiate the animation from a .x file (bones animation)

Post by Jeevan Singla »

Ive a complete animated character file in .x format with walking, running, standing, deing animations. i want to know how i can differentiate these animation, how i can load these animations
greenya
Posts: 1012
Joined: Sun Jan 21, 2007 1:46 pm
Location: Ukraine
Contact:

Post by greenya »

In general you loading the model. Than you can specify what frame-range you want to repeat by irrlicht. irrlicht will automatically animate model using those frames.

All details about implementation you should find in tutorials.
it will looks like:

Code: Select all

anms->setFrameLoop(320, 367);
anms->setAnimationSpeed(80);
Look into "04.Movement" example for full source.
Post Reply