Jump to content

detection of intersections without collisions


SCH
 Share

Recommended Posts

Hello. The task is to make objects that will not collide with each other, but at the same time trigger the collision start event. Now I have disabled the collision in this way:

this.char.setCollisionGroup(1)
this.char.setCollidesWith(0)

this.lama.setCollisionGroup(2)
this.lama.setCollidesWith(0)

using matter physic engine. 

How to implement it

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

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