n5ro / aframe-physics-system

Physics system for A-Frame VR, built on CANNON.js.

Home Page:https://n5ro.github.io/aframe-physics-system/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Including the Ammo.js build from mixedreality.mozilla.org

AgathaCrystal opened this issue · comments

Hi,
it seems like the script tag
<script src="https://mixedreality.mozilla.org/ammo.js/builds/ammo.wasm.js"></script>
is not working anymore and instead redirects to https://hubs.mozilla.com/labs/.

One of my projects I'm working at is dependent of the Ammo Driver, so would it be possible to update the URL and/or is there different location I can get it from?

Kind regards

Used the original fork from http://kripken.github.io/ammo.js/builds/ammo.wasm.js but it introduces error like this:

image

It seems there are some differences with the one forked by Mozilla team.

I think you should be able to use
https://cdn.jsdelivr.net/gh/MozillaReality/ammo.js@8bbc0ea/builds/ammo.wasm.js
also see c-frame#16 for context where this url is coming from.

I think you should be able to use https://cdn.jsdelivr.net/gh/MozillaReality/ammo.js@8bbc0ea/builds/ammo.wasm.js also see c-frame#16 for context where this url is coming from.

Thank you for pointing out the exact build! Probably need to build and host the files myself in case something happened to the CDN again.

Thank you SO much for the fast reply! Its working again :)