Skip to content

format

typescript
ControllerColliderHit.transform

class: ControllerColliderHit

description

(Read Only) The Transform component of the object collided with by the controller.

You can use this method to get the Transform component of the collided game object, allowing you to perform operations such as collision detection, interaction, and handling interactions between characters and the environment.

parameter

param_nametypedescription

reture

typedescription
TransformThe Transform component

code example