mirror of
https://github.com/photonstorm/phaser
synced 2024-12-18 17:16:03 +00:00
c0ba439e82
ArcadePhysics.Body.onOverlap is a new Signal that is dispatched whenever the Body overlaps with another Body. Due to the potentially high volume of signals this could create it is disabled by default. To use this feature set this property to a Phaser.Signal: `sprite.body.onOverlap = new Phaser.Signal()` and it will be called when an overlap happens, passing two arguments: the sprites which collided. |
||
---|---|---|
.. | ||
Body.js | ||
TilemapCollision.js | ||
World.js |