AmmoJSPlugin issue from the past 8 hours (cdn and preview)

Hi @mawa, could you try running

await Ammo();

in an async function before

scene.enablePhysics(...)

or you could use .then(...) like

Ammo().then(Ammo => {
    scene.enablePhysics(...)
});

For your reference, this was recently changed in Ammo: TypeError on reloading Playground (Need to click Play button to bypass error) :slight_smile:

2 Likes