A contact 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 JointLink.

Methods

inlinegetContact():Contact

Returns the contact of the link.

inlinegetNext():ContactLink

Returns the next contact link in the rigid body.

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

inlinegetOther():RigidBody

Returns the other rigid body of the link. This provides a quick access from a rigid body to the other one of the contact.

inlinegetPrev():ContactLink

Returns the previous contact link in the rigid body.

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