ScriptEvent:getWorldAxis

From Mod Wiki
Revision as of 17:02, 5 November 2007 by Wizz (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Parameters

integer index -- Which axis to return, 0 = Forward, 1 = Right, 2 = Up.

Result

vector

Supported By

sdClientScriptEntity
idEntity

Comments

  • Values outside of the range 0 -> 2 are likely to return garbage data, or crash.

Functionality

Returns a vector representing the specified physics axis of the object in world space.