4 ms·
The right path seems to be a WebAssembly build of an actual C++ engine. That's pretty close to this, which uses ammo.js, a workerized emscripten/ASM.js build of
by hinda 10y ago
The right path seems to be a WebAssembly build of an actual C++ engine. That's pretty close to this, which uses ammo.js, a workerized emscripten/ASM.js build of Bullet.
I've been meaning to experiment with doing precisely this :/.
- alex2401 10y agoWhitestorm.js uses AmmoNext (better Ammo.js) I mean that ammo.js runs bullet physics, and AmmoNext runs Bullet Physics 3. About WebAssembly - it is a future of Ammo.js/AmmoNext. We are planning also to make AmmoNext modular with wasm modules.