ScriptEvent:getJointAxis

From Mod Wiki

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.