Jump to content
This forum will be closing down. Please move to the respective dedicated project forums.

Collision detection without physics


bambieee
 Share

Recommended Posts

Hi guys,

Is there a way for collision detection without using Matter or any physics. It would be great if I can use the special shape vector body, but I will happy for a rectangular body as well.
Or if I am using physics, how can I avoid my sprite rebounding from other sprites. I just want to detect when they overlapped each other.
I am using this:
this.matter.world.on('collisionstart', function (event, bodyA, bodyB) {}
Thanks

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

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