Click or drag to resize
DigitalRuneSimulationContactConstraints Property
Gets the contact constraints.

Namespace: DigitalRune.Physics
Assembly: DigitalRune.Physics (in DigitalRune.Physics.dll) Version: 1.10.0.0 (1.10.0.14427)
Syntax
public ReadOnlyCollection<ContactConstraint> ContactConstraints { get; }

Property Value

Type: ReadOnlyCollectionContactConstraint
The contact constraints.
Remarks
For all bodies that have contact and where collision response is enabled, the simulation creates a ContactConstraint for each Contact. This list is updated in each time step. The ContactConstraint instances in this collection should not be changed, but properties of the ContactConstraints can be read. For example, LinearConstraintImpulse can used to check which impulse was applied at this contact. This is useful if you want to "destroy" an object after a severe collision.
See Also