Skip to content

format

typescript
ControllerColliderHit.normal

class: ControllerColliderHit

description

(Read Only) The normal of the surface the collider is colliding with in world space.

You can use this method to get the normal vector at the collision point, allowing you to perform operations such as collision detection, movement adjustment, bounce effects, etc.

parameter

param_nametypedescription

reture

typedescription
Vector3The normal of the surface the collider is colliding with in world space

code example