So I’m just doing some more research on Unity’s reference page and I can’t seem to find very much info on children. How does this work and what is it used for once a child is assigned to an object? Any direct answers or links would be greatly appreciated
It’s mainly used for movement. A child will move with the parent, but can also move in relation to the parent, like a moon around a planet. Comes in handy for attaching things like cameras, inventory, etc. Empty objects can be set as child and used as placeholders to put things like a health bar or whatever.
Keep in mind however that it’s more then attaching for movement. Child will use Parents local space meaning for example that scaling applied to Parent will also affect all children since they reside in local space of Parent that is being scaled.
To build on what they said, it just makes the child’s transform in relation to the parents position, rather than being independent in an open world.
so any reference in code to localPosition or localScale or localEulerAngles or localRotation will yield info on the position/scale/rotation in correspondence to that of the parent object.