The Jolt Physics backend, built on JoltPhysics.js - the WebAssembly port of the Jolt Physics
engine. JoltPhysics.js is an ES module that creates no global, so the initialized module is
passed to the constructor. Load the library first, then supply the backend to the application:
The Jolt Physics backend, built on JoltPhysics.js - the WebAssembly port of the Jolt Physics engine. JoltPhysics.js is an ES module that creates no global, so the initialized module is passed to the constructor. Load the library first, then supply the backend to the application:
The single-threaded flavors of the library (
wasm,wasm-compatandasm) are supported.Physics components behave as they do with the Ammo backend, apart from these differences: