Difference between revisions of "ScriptEvent:alignToAxis"
From Mod Wiki
(No difference)
|
Latest revision as of 10:55, 5 November 2007
Parameters
vector axis -- Vector to align the axis to. integer index -- Index of the axis to align, 0 = Forward, 1 = Right, 2 = Up.
Result
None.
Supported By
idEntity
Comments
- The vector passed in should be normalized.
- Nothing will happen if index is out of range.
Functionality
Aligns the specified axis of the physics along the supplied vector.