How to use Cannon.js physics in Spark AR
I’ve recently been playing with physics in Spark AR, and I thought I would share the journey so far. I’ve also made a project and an npm package that might help kickstart your physics exploration.
This is by no means a complete guide to physics engines, but it should be enough to get you started. For my experiments so far, I’ve been using Cannon.js.
The way I think about physics engines, is that there’s a visual world and a physics world. …