World:getCallbacks
Edit- Returns the callbacks assigned to the World.
- The callbacks are described in more detail on
World:setCallbacks
.
callbacks = World:getCallbacks()
Arguments
None
Returns
Name | Type | Description |
callbacks | table | The World collision callbacks. |
.filter | function | The function used to filter collisions. |
.enter | function | The function called when 2 colliders start touching. |
.exit | function | The function called when 2 colliders stop touching. |
.contact | function | The function called every frame while 2 colliders are in contact. |