a3js API Documentation - v1.3.1
    Preparing search index...

    Interface PhysicsWorldOptions

    PhysicsWorld の生成オプションです。

    interface PhysicsWorldOptions {
        gravity: { x: number; y: number; z: number };
    }

    Hierarchy (View Summary)

    Index

    Properties

    Properties

    gravity: { x: number; y: number; z: number }

    重力加速度ベクトル(m/s²)。通常は { x: 0, y: -9.81, z: 0 } です。