Skip to content

format

typescript
CharacterController.collisionFlags

class: CharacterController

description

Get the collision state of the object in the current frame.

CollisionFlags is an enumeration type that identifies the collision status of the character controller with other colliders during the last movement process. Read-only

parameter

param_nametypedescription

reture

typedescription
CollisionFlagsThe collision state of the object in the current frame.

code example