Reputation: 789
I would something like surviv.io : items on the ground (circles with weapon) collide with each other but for the players, items are only sensors. How can I do this?
I tried collisionFilter.category and mask, but the player is not detecting the circle body for an event.
Upvotes: 0
Views: 1839
Reputation: 789
I asked the question on the Matter.js GitHub (https://github.com/liabru/matter-js/issues/691) and the creator suggest me to pin 2 bodies together (1 solid body and 1 sensor)
Upvotes: 1