Skip to content

format

typescript
CharacterController.skinWidth

class: CharacterController

description

The gap size between the character controller and other colliders.

This represents the collision skin width of the character. Increasing the skin width can prevent the character from clipping or exhibiting strange behavior when in close contact with other objects, thereby improving the stability and reliability of the character.

parameter

param_nametypedescription

reture

typedescription
numberThe gap size.

code example