Click or drag to resize
DigitalRuneKinematicCharacterControllerResolvePenetrations Method
Tries to move the character to the nearest position where it does not penetrate other objects.

Namespace: DigitalRune.Physics.Specialized
Assembly: DigitalRune.Physics.Specialized (in DigitalRune.Physics.Specialized.dll) Version: 1.10.0.0 (1.10.0.0)
Syntax
public bool ResolvePenetrations()

Return Value

Type: Boolean
if the character is in or moved to a non-penetrating position; otherwise, if the penetrations could not be resolved.
Remarks
This method does nothing if the character controller is disabled. For deep interpenetrations this method might not find a solution. Penetrations are only removed up to the penetration depth (see AllowedPenetration).
See Also