$origin: Difference between revisions
Jump to navigation
Jump to search
m (minor cleanup and info) |
mNo edit summary |
||
Line 1: | Line 1: | ||
The [[$origin]] QC | The [[$origin]] [[QC command]] is used to ''offset'' the [[ModelOrigin]] from the [[EntityOrigin]]. It shifts all the vertices and animations to the specified location. Also allows an optional z-axis rotation. | ||
* It is very useful for adjusting [[Viewmodel|view models]]. | * It is very useful for adjusting [[Viewmodel|view models]]. | ||
* It is also useful for arranging a versatile cluster of separate models such as an entire building consisting of exterior_walls.mdl, roof.mdl, interior_walls.mdl, roof_details.mdl, etc | * It is also useful for arranging a versatile cluster of separate models such as an entire building consisting of exterior_walls.mdl, roof.mdl, interior_walls.mdl, roof_details.mdl, etc | ||
* See also [[$autocenter]], [[$illumposition]], [[$masscenter]]. | |||
== Syntax == | == Syntax == |
Revision as of 16:17, 6 May 2008
The $origin QC command is used to offset the ModelOrigin from the EntityOrigin. It shifts all the vertices and animations to the specified location. Also allows an optional z-axis rotation.
- It is very useful for adjusting view models.
- It is also useful for arranging a versatile cluster of separate models such as an entire building consisting of exterior_walls.mdl, roof.mdl, interior_walls.mdl, roof_details.mdl, etc
- See also $autocenter, $illumposition, $masscenter.
Syntax
$origin (x) (y) (z) [z rotation]
Refer to picture for axis manipulations.