I'd really appreciate some help on this one.
Given 2 coordinate systems A and B where
- xA is an initial Vector3 position, rA is an initial Quaternion rotation
- xB is an initial Vector3 position, rB is an initial Quaternion rotation
How can I then transform a random (position, rotation) from A into B?
I can understand how I would go about if I only had position. If I had randomA, it would be randomB = xB + (randomA - xA) to shift from A to B. I'm kind of stuck on where should I incorporate the quaternions / their inverse.