apply skeletal animation to mesh?

Post your questions, suggestions and experiences regarding to Image manipulation, 3d modeling and level editing for the Irrlicht engine here.
Post Reply
Makumba666
Posts: 4
Joined: Wed Jul 02, 2008 12:05 pm

apply skeletal animation to mesh?

Post by Makumba666 »

Hi,
I wander, if such thing is possible to have animations separated from mesh and apply them as needed? To be more precise, can one have a mesh file and numerous animation files, that could be played on above mentioned mesh?
Of course, I mean skeletal animations.
JP
Posts: 4526
Joined: Tue Sep 13, 2005 2:56 pm
Location: UK
Contact:

Post by JP »

Yep, ISkinnedMesh has function called useAnimationsFrom(ISkinnedMesh)

So you i guess you cast your IMesh to ISkinnedMesh and specify which animations you want it to use.
Image Image Image
Dorth
Posts: 931
Joined: Sat May 26, 2007 11:03 pm

Post by Dorth »

What I like to do is skin my meshes, use the skeleton in all meshes that should share animation, then make all the animation stand-alone. It's a bit overhead for nothing but man is it simpler
Post Reply