A joint link is used to build a constraint graph for clustering rigid bodies. In a constraint graph, rigid bodies are nodes and constraints are edges. See also ContactLink.

Methods

getContact():Joint

Returns the contact the rigid body is attached to.

getNext():JointLink

Returns the next joint link in the rigid body.

If the previous one does not exist, null will be returned.

getOther():RigidBody

Returns the other rigid body attached to the constraint. This provides a quick access from a rigid body to the other one attached to the constraint.

getPrev():JointLink

Returns the previous joint link in the rigid body.

If the previous one does not exist, null will be returned.