Skip to content

format

typescript
ControllerColliderHit.controller

class: ControllerColliderHit

description

(Read Only) The character controller involved in the collision.

You can use this property to get a reference to the character controller involved in the collision, allowing you to perform operations such as collision detection, movement adjustments, and character interactions.

parameter

param_nametypedescription

reture

typedescription
CharacterControllerThe character controller.

code example