Whether this environment could run Rapier at all — the cheap pre-filter
"auto" uses before it constructs anything (§37).
Rapier is WebAssembly, and @dimforge/rapier{2,3}d-compat carries its image
inline, so the one thing that can make it impossible here is a runtime with
no WebAssembly global — an old engine, or a host that has removed it under
a §96-style policy. Everything else that can go wrong (a failed
instantiation, an out-of-memory decode) surfaces from
PhysicsWorld.initialize, which is where §37 puts the load.
options is unread: Rapier's availability does not depend on the world.
Whether this environment could run Rapier at all — the cheap pre-filter
"auto"uses before it constructs anything (§37).Rapier is WebAssembly, and
@dimforge/rapier{2,3}d-compatcarries its image inline, so the one thing that can make it impossible here is a runtime with noWebAssemblyglobal — an old engine, or a host that has removed it under a §96-style policy. Everything else that can go wrong (a failed instantiation, an out-of-memory decode) surfaces fromPhysicsWorld.initialize, which is where §37 puts the load.optionsis unread: Rapier's availability does not depend on the world.