I am rotating a rigged characters arm joint with “setLocalRotation”. I would like to get the new location/translation of the hand in space after rotating the arm joint.
I tried using “getLocalTranslation” like:
Spatial hand = (Spatial) rig.getChild("RightHand"); Vector3f handPos = hand.getLocalTranslation();
But I just get X = 0, Y = 0, & Z = 0.
I guess its because its the local translation and not the global?
Can you help me?