Getting joint local transform
I am trying to get the local transform value of the joint in my skeletal mesh so that I can use it to drive a variable.
The only option I can find though is transform from bone space, which only gives me its current world location.
Is there a way to get it's local transformation?
One thing I thought about was simply deducting the joints value from the parents value, but that doesn't take into account that the y axis might be at an angle. Is there an easy way to get this information or will I need to calculate it in my BP?
Thanks in advance,
asked Feb 21 '19 at 03:35 PM in Blueprint Scripting
You can use Get Direction Between Socket node. As long as you consider your root joint as origin point (0, 0, 0), you can get other joints' transform relative to your root joint.
Below is an example of getting the local transform of the pelvis joint relative to the root joint.
answered Feb 21 '19 at 04:01 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here