Click or drag to resize
DigitalRuneKinematicCharacterControllerNumberOfSlideIterations Property
Gets or sets the number of slide 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 NumberOfSlideIterations { get; set; }

Property Value

Type: Int32
The number of slide iterations in the range [1, ∞[. The default value is 4.
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptionvalue is negative or 0.
Remarks
The character controller will slide from contact to the next contact until it finds a position near the target position. NumberOfSlideIterations 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