Click or drag to resize
DigitalRuneKinematicCharacterControllerNumberOfSolverIterations Property
Gets or sets the number of solver iterations.

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

Property Value

Type: Int32
The number of solver iterations in the range [1, ∞[. The default value is 4.
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptionvalue is negative or 0.
Remarks

In each slide movement the character controller gathers bounding planes that form a convex space in which it may move. An iterative solver is used to find a valid position in this convex space that is nearest to the target position.

NumberOfSolverIterations is the maximal iteration limit. Setting this property to a lower value can make the movement less smooth and the character controller could stop at small obstacles and steps.

See Also