Click or drag to resize
DigitalRuneCollisionDetectionContactPositionTolerance Property
Gets or sets the contact position tolerance.

Namespace: DigitalRune.Geometry.Collisions
Assembly: DigitalRune.Geometry (in DigitalRune.Geometry.dll) Version: 1.18.0.0 (1.18.2.14427)
Syntax
public float ContactPositionTolerance { get; set; }

Property Value

Type: Single
The contact position tolerance. The default value is 0.01.
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptionvalue is negative.
Remarks
This constant is required for contact persistence. When touching or penetrating objects move, existing contacts are updated. If the contact position moves less than this value, the contact lives on. If the contact position change is larger, the contact is removed.
See Also