format
typescript
Collision.contactCountclass: Collision
description
(Read Only) The number of contact points involved in the collision event.
Returns an integer value that represents the number of contact points involved in the collision. You can use this property to iterate and process information for each contact point.
parameter
| param_name | type | description |
|---|
reture
| type | description |
|---|---|
number | The number of contact points |
