Constrains the character's position to lie on the navmesh.
Vector3
position
Current position of the character.
out bool
positionChanged
True if the character's position was modified by this method.
Not all movement scripts have support for this.
New position of the character that has been clamped to the navmesh.