ScriptEvent:alignToAxis
From Mod Wiki
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.