If i hold my hand in a neutral position like shown below:
My VR hand will look like this:
So im looking for a way to add a relative pitch offset of some sort to my hand position which i derive as shown below:
So as you can see, i get the world transforms from head and the two hands, and i convert them into local/component space. Now, if i were to just adjust pitch to the transforms either in world or component space, they end up turning around when i rotate around. So question is really, what is the math to calculate the correct rotations to get the gun to point forward instead of slightly upwards when holding my RL hand as shown on the first picture?
I already tried to take the world transform and use Convert to Relative to my Skeletal Mesh transform, but then i don’t know how to get back to normal World space, by using Compose Transform. It doesn’t bring me back, i guess because it’s a world transform converted to relative, and i really need a relative-to-World rotator conversion.