Origin: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
mNo edit summary
Line 1: Line 1:
<div style="float:right;padding-left:1em;background:white;">[[Image:Coordinates.png|A two-dimensional coordinate system]]</div>
<div style="float:right;padding-left:1em;background:white;">[[Image:Coordinates.png|A two-dimensional coordinate system]]</div>


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


{{tip|There can be multiple origins within the same entity: its own origin, the origin of its model, etc. Each origin defines its own local coordinate system relative to its parent.}}
{{tip|There can be multiple origins within the same entity: its own origin, the origin of its model, etc. Each origin defines its own local coordinate system relative to its parent.}}

Revision as of 15:26, 14 January 2009

A two-dimensional coordinate system

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.

Tip.pngTip:There can be multiple origins within the same entity: its own origin, the origin of its model, etc. Each origin defines its own local coordinate system relative to its parent.

See also