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 for the duration of this body colliding with another. |
This Game Object.