Click or drag to resize
DigitalRuneContactConstraintErrorReduction Property
Gets or sets the error reduction parameter.

Namespace: DigitalRune.Physics.Constraints
Assembly: DigitalRune.Physics (in DigitalRune.Physics.dll) Version: 1.10.0.0 (1.10.0.14427)
Syntax
public float ErrorReduction { get; }

Property Value

Type: Single
The error reduction parameter in the range [0, 1]. The default value is ContactErrorReduction.
Remarks
The error reduction parameter is a value between 0 and 1. It defines how fast a constraint error, in this case rigid body interpenetration, is removed. If the error reduction parameter is 0, constraint errors are not removed. If the value is 1 the simulation tries to remove the whole constraint error in one time step - which is usually unstable. A good value is for example 0.3.
See Also