Skip to content

format

typescript
CharacterController.minMoveDistance

class: CharacterController

description

The minimum movement distance for the character controller.

If the distance the character tries to move is less than this value, it will not move at all. This can be used to reduce jitter. In most cases, this value should be kept at 0.

parameter

param_nametypedescription

reture

typedescription
numberThe minimum movement distance.

code example