Cannon-es.js 3D physics integration

cannon-es.js is a smaller 3D physics library than Ammo that is written in JS. This can be a great alternative if download size or space is an issue (e.g playable ads, messenger games etc)

A basic integration of the library can be found here: https://playcanvas.com/project/793652/overview/cannonesjs-physics-integration

The project uses a browserified version of the cannon-es library using the steps here: https://www.webtips.dev/use-npm-modules-in-your-browser

jl7hvt

2 Likes