Properties
| Name | Type | Description | Script Name |
|---|---|---|---|
| Enable | Bool | Whether to enable collision | Enable |
| Is trigger | Bool | Read Only Whether or not to act as a trigger |
IsTrigger |
| Physical Layer | Int | Physical layers, configure layers in the physics module, up to 16. | PhysicalLayer |
Event
| Name | Description |
|---|---|
| On Collision Enter | Triggered when an entity collides. Only entities with rigidbody components attached support this event. |
| On Collision Exit | Triggered when the entity collision ends. Only entities with rigidbody components attached support this event. |