Constructor
new SystemCollision()
- Description:
- Creates a new collision system.
 
- Source:
Example
const system = new SystemCollision();Methods
onInitiate()
- Description:
- Called when the system is being initiated.
 
- Source:
onTick($parameters)
- Description:
- Called when the system is being updated by one tick update.
 
- Source:
Parameters:
| Name | Type | Description | 
|---|---|---|
| $parameters | object | The given parameters. | 
| $parameters.$stage | Stage | The stage on which to execute the system. | 
| $parameters.$timetick | number | The tick duration (in ms). |