Joint space position in an ms3d model

  Hello everybody, I am starting to use JME and i need help.



I am importing a human model from MilkShape and I desire to animate the hand to grip an object or open a door. I'm using JointController to move the joints of the model and I don't see how can I get the exact position in the space of a joint child to calculate if the models hand is closer or far from an object. :?



I have used the localRefMatrix method from JointController that gives me a TransformMatrix with a rotation Matrix3f and a translation vector of a joint but the rotation and translation of the joint is only relative to its parent.



Also an apology if this is not a good question


Did somebody have read this post? Or have a suggestion of how to resolve my problem?

I’m not sure there is a good solution. The MS3D importer is good for importing animated meshes and just playing them, but the interface is poor if you want to do much more with them.



HamsterOfDeath posted some changes which might be applicable, but I haven’t used them so I don’t know if they do what you need:

http://www.jmonkeyengine.com/jmeforum/index.php?topic=9233.0

thanks Alric


The MS3D importer is good for importing animated meshes and just playing them,


So, if what I want it's to move joinst of my MS3D model what another option I have?