@SecretAgentMango They don’t become the exact same,
When you make the sword object a child of the empty game object:
Transform component starts using the local position of the empty object Instead of the world position.
So normal objects uses world position, child objects uses the local position of the parent object of itself.
When a child object uses the local position of the parent object, it’s position gets calculated related to parent object’s position. It assumes the parent object as the 0, 0, 0 origin and calculates child object’s position relative to that.
Example:
Let’s say there are 2 objects,
Object A’s position: 5, 0, 0
Object B’s position: 8, 0, 0
If we make the Object B a child of the Object A, let’s calculate what happens:
Object A’s position stays the same in world position: 5, 0, 0
Object B’s position becomes 3, 0, 0 because it assumes the 5, 0, 0 position as 0, 0, 0.