Click or drag to resize
DigitalRuneConstraintSettingsNumberOfConstraintIterations Property
Gets or sets the number of constraint iterations per time step.

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

Property Value

Type: Int32
The number of constraint iterations. Must be positive. The default value is 10.
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptionvalue is negative or 0.
Remarks
The constraint solver uses an iterative algorithm. Increasing the number of iterations improves the simulation stability but makes the simulation slower.
See Also