Transform position in editor confusion (screenshot examples)

Screenshot by Lightshot - the position of the RunGame gameObject

Screenshot by Lightshot - the position of the Environment gameObject

Screenshot by Lightshot - the position of the Level1 gameObject

Screenshot by Lightshot - the position of the PlatformShort (the first one) gameObject

Screenshot by Lightshot - the position of the PlatformShort gameObject changed X to 0

I got very confused here because as far as I’m concearned when you change the position of a GO which is paranted to another GO to 0 0, it has to go in the center of its parent. Here obviously doesn’t work like this or I haven’t understood the concepts of parenting and positiong of gameObjects. Question: Why PlatformShort GO with changed X pos to 0 isn’t in the center of Level1 GO

At the top of your editor you have two buttons next to each other: Center & Local. The left button (Center) defines where your tool handle will be placed. It is set to Center at the moment meaning it will be placed in the calculated center of the object, which is a sort of average between all the child objects in it. That is why your handle is not in the exact same spot on those different objects.

If you click on the Center button it will change to Pivot and the handle tool will place itself exactly on the position the object is at. This is the mode I prefer to work in.