ScriptEvent:bindToJoint

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

Parameters

entity (cannot be null) master -- The entity to bind to.
string joint -- The name of the joint to bind to.
boolean oriented -- Whether the bind is position only, or also oriented.

Result

None.

Supported By

sdClientScriptEntity
idEntity

Functionality

Binds the physics for this entity to the joint on the entity specified. They will be bound in their current relative position, but the entity will keep its own independant orientation unless the oriented flag is set.