Skip to content
This repository has been archived by the owner on May 23, 2024. It is now read-only.

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

Open
AgathaCrystal opened this issue Jan 24, 2023 · 4 comments
Open

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

AgathaCrystal opened this issue Jan 24, 2023 · 4 comments

Comments

@AgathaCrystal
Copy link

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

@kevinsuwito
Copy link

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.

@vincentfretin
Copy link
Collaborator

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.

@kevinsuwito
Copy link

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.

@AgathaCrystal
Copy link
Author

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants