ScriptEvent:bindToJoint

From Mod Wiki

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.