Jump to content

How make Multiple Collider in Phaser 3?


Scrooler
 Share

Recommended Posts

Hi All!

I have a question.
A Player who has collision.

For each object I have to assign

 this.physics.add.collider(player, group);
 this.physics.add.collider(player, objectLayer);

How to give collision globally ?

Just give collider player and other object separately.

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

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