Is there a Physics API? 🤔

Another good idea for a Physics API is collision detection by type.

Example… if you have a tank and a helicopter, the helicopter should fly over the tank – but the projectiles from the tank should hit the helicopter.

I’m not sure, but I think the terminology for this in Matter.js is collision filtering. The following thread seems related… https://github.com/liabru/matter-js/issues/48

1 Like