The callback is sent a Phaser.Types.Physics.Matter.MatterCollisionData
object.
This does not change the bodies collision category, group or filter. Those must be set in addition to the callback.
name | type | description |
---|---|---|
callback | function |
The callback to invoke when this body starts colliding with another. |
This Game Object instance.