Matter.js Deleting Bodies

Nature of Code Video #5.19

This video is the third in a series on the matter.js physics engine. Here I look at how to delete off-screen bodies from the physics world, removing them from both my particle array as well as Matter.world.