Click or drag to resize
DigitalRuneConstraintSettingsMaxErrorCorrectionVelocity Property
Gets or sets the maximal error correction velocity for general constraint errors.

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

Property Value

Type: Single
The maximal error correction velocity. Must be greater than or equal to 0. The default value is 100.
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptionvalue is negative.
Remarks
The simulation will move bodies to remove constraint errors (e.g. interpenetrations of rigid bodies or violated joint limits). The error correction velocities for constraint errors are cut off above MaxErrorCorrectionVelocity. For penetration errors MaxPenetrationCorrectionVelocity is used, not MaxErrorCorrectionVelocity.
See Also