| CollisionDetectionContactPositionTolerance Property |
Gets or sets the contact position tolerance.
Namespace: DigitalRune.Geometry.CollisionsAssembly: DigitalRune.Geometry (in DigitalRune.Geometry.dll) Version: 1.18.0.0 (1.18.2.14427)
Syntax public float ContactPositionTolerance { get; set; }
Public Property ContactPositionTolerance As Single
Get
Set
public:
property float ContactPositionTolerance {
float get ();
void set (float value);
}
member ContactPositionTolerance : float32 with get, set
Property Value
Type:
SingleThe contact position tolerance. The default value is 0.01.
Exceptions 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