* Called when the collision enter. * @param other - The Collision data associated with this collision event * @remarks The Collision data will be invalid after this call, you should copy the data if needed.
(other: Collision)
| 103 | * @remarks The Collision data will be invalid after this call, you should copy the data if needed. |
| 104 | */ |
| 105 | onCollisionEnter(other: Collision): void {} |
| 106 | |
| 107 | /** |
| 108 | * Called when the collision exit. |