Unity global coordinate system and the local coordinate system

 

  • Global coordinate system

Describe the position and orientation of all objects within the game scene benchmark, also known as the world coordinate system. Unity objects created in the scene to the global coordinate system is a coordinate origin (0,0,0) to determine the respective position.

  • Local coordinate system

Each object has its own independent coordinate system, and are moved or rotated with the same object, also referred to as model coordinate system or the object coordinate system. Transform the mesh model stored Position, Rotation, and Scale the GameObject are relative to the parent, the parent-child object coordinate system is associated, this time the child object will be the parent object coordinate point as its origin of coordinates.

Guess you like

Origin www.cnblogs.com/longsl/p/11112740.html