Category "matter.js"

How to create a random ground in matter.js

I am creating the ground of a game using a Perlin noise function. This gives me an array of vertices. I then add a vertex at the front that is {x:0 y: WORLD_HEI

MatterJS allow bodies to pass through yet still trigger collision

I want certain rigid bodies to be able to pass through eachother, i.e. no collision response. Though I still want the collision to detect, and trigger an event