I am relativity new to 3D transformations and believe that this is something I need to learn more of. However in my current situation I have a case which I am struggling with, to convey I have attached a (poorly drawn) image. Please note while the drawing is in 2D the actual case is 3D.
I have the parent node P, and 2 children nodes A and B. The node A already has a transformation to get it into the position I want. I want to calculate a position relative to A (using its own relative coordinate system) to move it forward 2 units in the x direction. I then want to get the transformation of this position B relative to the parent P.
Right now my best guess of how to proceed would be to ?somehow? calculate the vector of A>B and then use the knowledge of P>A to figure out P>B. Although I am stumped at how to find this local transformation. I am also not sure if this is the right path to go down and would greatly appreciate if someone could point in me in the right direction so I can go away and learn how to finish up on this task.
Thanks very much all.