Legacy Documentation: Version 4.5
Previous
ScriptableObject
Next
Asset Components

Transform

Switch to Scripting

The Transform component determines the Position, Rotation, and Scale of each object in the scene. Every GameObject has a Transform.

Properties

Property: Function:
Position Position of the Transform in X, Y, and Z coordinates.
Rotation Rotation of the Transform around the X, Y, and Z axes, measured in degrees.
Scale Scale of the Transform along X, Y, and Z axes. Value “1” is the original size (size at which the object was imported).

The position, rotation and scale values of a Transform are measured relative to the Transform’s parent. If the Transform has no parent, the properties are measured in world space.

Previous
ScriptableObject
Next
Asset Components