Jump to content

Phaser 3 Collision Group Matter.js


Recommended Posts

Found out how to do this. For anyone that might be interested, if you have sprites with matter.js bodies and don't want them to collide, you can set sprite.body.collisionFilter.group = -1 to the ones you don't want colliding and they won't collide with each other but they will still collide with everything else. For more detailed info:


Link to comment
Share on other sites


  • Recently Browsing   0 members

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