Coordinates
Jump to navigation
Jump to search
Coordinates are used to store locations. They are represented as groups of numbers, one per dimension, which taken together can be used to find a location on a grid (or, less commonly, a line). Each value is relative to the origin (see below) of the current object.
Coordinates in Source are (X,Y,Z)
, where X is right, Y is forward, and Z is up. (0,0,1)
is a point one unit directly above the origin.
Coordinates are often stored alongside a set of rotation angles.


Origin
The origin of an object is the point at which its local coordinates are (0,0,0)
. This is the 'centre' from which all other local coordinate values are relative.

See also
- Wikipedia:Coordinate system
- $origin and $autocenter (for models)