format
typescript
Rigidbody.detectCollisionsclass: Rigidbody
description
Whether to enable collision detection.
When detectCollisions is set to true, it means the rigidbody will perform collision detection and interact with other rigidbodies and colliders. When detectCollisions is set to false, it means the rigidbody will not perform collision detection and it will not collide with other objects.
parameter
| param_name | type | description |
|---|
reture
| type | description |
|---|---|
boolean |
