Loads the Jolt physics backend (the WASM module) on demand. Call once before
using physics, or simply await PhysicsWorld.create() which loads it for you.
Idempotent — safe to call repeatedly / concurrently.
Building with Vite needs no arguments. For other bundlers (or to self-host the
.wasm), pass PhysicsInitOptions — and make this call (or the first
PhysicsWorld.create()) happen with those options before any other physics use.
Loads the Jolt physics backend (the WASM module) on demand. Call once before using physics, or simply
await PhysicsWorld.create()which loads it for you. Idempotent — safe to call repeatedly / concurrently.Building with Vite needs no arguments. For other bundlers (or to self-host the
.wasm), pass PhysicsInitOptions — and make this call (or the firstPhysicsWorld.create()) happen with those options before any other physics use.