ScriptEvent:setJointAngle

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

Parameters

integer joint -- Index of the joint.
integer mode -- Type of modification.
vector offset -- Offset angles to apply.

Result

None.

Supported By

sdClientAnimated
idAnimatedEntity

Comments

  • Valid values for mode are JOINTMOD_NONE, JOINTMOD_LOCAL, JOINTMOD_LOCAL_OVERRIDE, JOINTMOD_WORLD, or JOINTMOD_WORLD_OVERRIDE.
  • NONE: Clears any modification.
  • LOCAL: Offset in joint space.
  • LOCAL_OVERRIDE: Set in joint space.
  • WORLD: Offset in model space.
  • WORLD_OFFSET: Set in model space.

Functionality

Adds an axes joint modification.