I have two square empty GameObjects. Both have a cube Object appended as a child. The top empty GameObject is also appended as a child two the lower one. How can I rotate the top empty GameObject, so the inner cube object is still on the other cube object (Right picture)?
When I use something like transform.localRotation, transform.localEulerAngles or transform.Rotate, the top object will always rotate like on the left picture.
