Is it possible to select a specific bone in a mesh?

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
Skyclad Monkey
Posts: 3
Joined: Wed Oct 13, 2004 9:43 pm

Is it possible to select a specific bone in a mesh?

Post by Skyclad Monkey »

The reason I ask is that I have a bone in my model for a muzzle position and I was wondering if It is possible to select this bone to retrieve its position to add in a muzzle flash sprite.
Who are you that walks across the graves of giants at this late hour
Xico
Posts: 30
Joined: Sun Jun 05, 2005 5:08 pm
Location: Buenos Aires, Argentina
Contact:

Post by Xico »

Hi, you can use irr::scene::IAnimatedMeshX::getMatrixOfJoint to get the matrix of that joint. Useful to attach a node to the joint.

http://irrlicht.sourceforge.net/docu/cl ... _x.html#a6
Skyclad Monkey
Posts: 3
Joined: Wed Oct 13, 2004 9:43 pm

Post by Skyclad Monkey »

Excellent !!

Thanks a lot!
Who are you that walks across the graves of giants at this late hour
Post Reply