format
typescript
ControllerColliderHit.gameObjectclass: ControllerColliderHit
description
(Read Only) The game object that was hit during a collision.
You can use this property to get the game object that was collided with, allowing you to perform actions such as collision detection, interaction, and handling interactions between characters and the environment.
parameter
| param_name | type | description |
|---|
reture
| type | description |
|---|---|
GameObject | The game object that was hit. |
