| PlaneLimitErrorReduction Property |
Gets or sets the error reduction parameter.
Namespace: DigitalRune.Physics.ConstraintsAssembly: DigitalRune.Physics (in DigitalRune.Physics.dll) Version: 1.10.0.0 (1.10.0.14427)
Syntax public float ErrorReduction { get; set; }
Public Property ErrorReduction As Single
Get
Set
public:
property float ErrorReduction {
float get ();
void set (float value);
}
member ErrorReduction : float32 with get, set
Property Value
Type:
SingleThe 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