Hi, could anyone help me with .x model(dwarf.x)? basically, I want to get back the local matrix of the .x model after I load it into the engine. But I failed after many attempts. Can someone help me please?
Thank you.
World space to local space
The model itself doesn't have a transformation matrix. The scene node has a transformation matrix, that you can access with getTransformation() and getAbsoluteTransformation() (they are different). Each of the joints have their own transformations that you can access by asking the IAnimatedMeshSceneNode for its joints.
Travis
Travis
I don't know what you're trying to do. You said you wanted to get the local matrix of the .x model and I gave you the information you needed. Now you are assuming that I know what you want to do with the transform. How about you just stop for a few seconds and tell us what you want to achieve, and then maybe we can help you.
Travis
Travis