I’m trying to implement the Ammo JS physics engine, but I’m not sure how to properly import and implement the engine.
Following the docs it looks like we just ‘activate’ it within BabylonJs with scene.enablePhysics() and passing in an instance of Ammo. However, it can’t find ‘Ammo’.
I tried using this npm package (https://www.npmjs.com/package/ammo.js) but it’s way too old - 5 years and doesn’t seem to work either.
Any suggestions? Do I have to install any specific package for it to work? If so, can you provide a link to it? I couldn’t find much information on this regard.
Thanks in advance.