Skip to content

format

typescript
Collision.rigidbody

class: Collision

description

(Read Only) The Rigidbody component on the collider.

parameter

param_nametypedescription

reture

typedescription
RigidbodyThe Rigidbody on the collider.

code example