Click or drag to resize
DigitalRuneContactConstraintIConstraintCollisionEnabled Property
Gets a value indicating whether collisions between BodyA and BodyB are disabled.

Namespace: DigitalRune.Physics.Constraints
Assembly: DigitalRune.Physics (in DigitalRune.Physics.dll) Version: 1.10.0.0 (1.10.0.14427)
Syntax
bool IConstraint.CollisionEnabled { get; }

Property Value

Type: Boolean
if collisions are enabled; otherwise, . The default is .

Implements

IConstraintCollisionEnabled
Remarks
This property can be set to to disable collision detection between the constraint bodies. Disabling collisions improves performance and is often necessary, for example, for two connected limbs in a ragdoll that are always penetrating each other.
See Also