ScriptEvent:getJointAxis

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

Parameters

integer joint -- Index of the joint.
integer axis -- Index of the axis.

Result

vector

Supported By

idAnimatedEntity

Comments

  • If the lookup fails, the axis of an identity matrix will be returned.
  • The axis index must be in the range 0-2 otherwise the game will likely crash/return garbage data.

Functionality

Returns the single axis of a joint in world space.