Hi everyone. Im stucked with some geometry problem here...
Let's say the Ship node can navigate in any direction (dir), always facing towards its Z axis and rotating around Y.
So, considering the independent transforms, how can I rotate the "pivot for x and z" (pxz node) around an given axis perpendicular to dir? (like bending the Mast node by the wind).
The pxz node can be (or not) aligned with the Ship node, because I want the player to be abble to rotate his parent, py, which I intented to use to only rotate around Y.

Any ideas? Thanks in advance.