setJoint
setJoint(
authority,joint,changes):NoSetting|null
Changes joint, a joint’s entity, in place on the world authority
decides for: a crane’s motor target follows its operator’s lever. A
spring’s lengths and a rope’s length make the joint again, which
Rapier’s bindings cannot change. The change streams. A setting the
joint’s type has none of throws in development, and is refused
deployed, returning the reason.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
authority |
EntityAuthority |
joint |
Entity |
changes |
JointChanges |
Returns
Section titled “Returns”NoSetting | null
Example
Section titled “Example”setJoint(step, crane, { motor: { targetPosition: lever * 1.2 } });