Bitbybit Docs
    Preparing search index...

    Class EnablePhysicsDto (Inputs.BabylonScene)

    Feeds babylon.scene.enablePhysics with the gravity that bodies fall under.

    Index

    Constructors

    Properties

    Constructors

    Properties

    vector: Vector3

    The gravity as a vector, [0, -9.81, 0] being Earth's pull downward along Y

    [0, -9.81, 0]