The Arcade Physics World Collide Event.
This event is dispatched by an Arcade Physics World instance if two bodies collide and at least
one of them has their onCollide property set to
It provides an alternative means to handling collide events rather than using the callback approach.
Listen to it from a Scene using:
Please note that 'collide' and 'overlap' are two different things in Arcade Physics.
The first Game Object involved in the collision. This is the parent of
The second Game Object involved in the collision. This is the parent of
|body1||Phaser.Physics.Arcade.Body | Phaser.Physics.Arcade.StaticBody||
The first Physics Body involved in the collision.
|body2||Phaser.Physics.Arcade.Body | Phaser.Physics.Arcade.StaticBody||
The second Physics Body involved in the collision.