Click or drag to resize
DigitalRuneHinge2JointErrorReduction 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; set; }

Property Value

Type: Single
The error reduction parameter in the range [0, 1].
Remarks
The error reduction parameter is a value between 0 and 1. It defines how fast a constraint error 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.2.
See Also