I have a GameObject for which I know its world position and rotation.
From another app, I receive a new rotation and position, which should represent the local position and rotation of my GameObject.
How can I compute the position and rotation of the parent object knowing the (world) position, the (world) rotation, the localPosition and the localRotation of its child? How can I find the necessary transform to obtain the second pair of coordinates from the first pair of coordinates?