 | IConstraintCollisionEnabled Property |
Gets a value indicating whether collisions between
BodyA and
BodyB are disabled.
Namespace: DigitalRune.Physics.ConstraintsAssembly: DigitalRune.Physics (in DigitalRune.Physics.dll) Version: 1.10.0.0 (1.10.0.14427)
Syntaxbool CollisionEnabled { get; }
ReadOnly Property CollisionEnabled As Boolean
Get
property bool CollisionEnabled {
bool get ();
}
abstract CollisionEnabled : bool with get
Property Value
Type:
Boolean if collisions are enabled; otherwise,
.
The default is
.
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