Hi, I’m toying around with adding Rapier and wanted to get a basic concept working in the playground first. I think I have a lot of my sizing and rotation code, etc, wrong but want to see it in action. Locally I had something working along these lines but in the playground I get errors in the console.
Rapier JS uses WASM so the import is kind of funky for playground use. I tried:
const RAPIER = await import('https://cdn.skypack.dev/@dimforge/rapier3d-compat');
It seems to bring it in as a library but then I get:
Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'rawintegrationparameters_new')
when I actually try to use the features. Anybody else get Rapier working in a playground I didn’t see? Or any ideas how to fix this one? https://playground.babylonjs.com/#L5K58E#1