Jump to content

Intersects or Overlap with Box2D in Phaser


jdnichollsc
 Share

Recommended Posts

Hi deniz, thanks for your quickly response!

 

But, I need only a function that detect overlap in these moment.... exist this?

 

Like in arcade:

 

  1. update : function() {
  2.     this.game.physics.arcade.overlap(this.player, this.coin, function () {
  3.         //Code when overlap...
  4.     });
  5. }

 

Thanks in advance, Nicholls

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...