Engine API Reference - v2.22.0-beta.30
    Preparing search index...

    Class NullPhysicsWorldAlpha

    A no-op physics backend. The PhysicsWorld base class is a functional no-op - bodies, shapes and joints are created but inert, raycasts miss and stepping does nothing - so this subclass adds nothing. It exists to let physics component lifecycle run without a physics engine loaded, and is installed explicitly:

    const options = new AppOptions();
    options.physicsWorld = new NullPhysicsWorld();

    It is never auto-selected - without it, an application with no physics library keeps the default behavior where physics components are inert placeholders.

    Hierarchy (View Summary)

    Index
    nativeWorld: any = null

    The backend-native world object - btDiscreteDynamicsWorld when the Ammo backend is active, null otherwise.