| ContactConstraintIConstraintCollisionEnabled 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)
Syntax bool IConstraint.CollisionEnabled { get; }
Private ReadOnly Property CollisionEnabled As Boolean
Implements IConstraint.CollisionEnabled
Get
private:
virtual property bool CollisionEnabled {
bool get () sealed = IConstraint::CollisionEnabled::get;
}
private abstract CollisionEnabled : bool with get
private override CollisionEnabled : bool with get
Property Value
Type:
Boolean if collisions are enabled; otherwise,
.
The default is
.
Implements
IConstraintCollisionEnabledRemarks
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