Documentation
    Preparing search index...

    Function isRapierSupported

    • 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.

      Parameters

      Returns boolean