Skip to content

format

typescript
CharacterController.detectCollisions

class: CharacterController

description

Whether to enable collision detection for the character controller.

A value of true indicates that collision detection is enabled, while false indicates that collision detection is disabled.

parameter

param_nametypedescription

reture

typedescription
booleanWhether a collision occurred.

code example