How to get the correct transform of joints after loading motion to model via API?
I am trying to visualize the skeleton model in Blender.
After loading the motion, I set the frame index.
I use getTransformInGround(). It seems that this function can't get the correct transform.. Or maybe I mess up the transform and its corresponding part.
My workflow is to get the joints. With the joints, I get the parent body and child body. Using getTransformInGround() to get the global transformation of the child body.
Import mesh files and use the global transformation to define the transformation of the body geometry in Blender.
I also attempt to use the bones(joints) in Blender to visualize the osim file, that is why I currently move to visualize the geometry without bones...
My goal is to visualize the skeleton and animate it with its joints in Blender....