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

    Interface RapierPhysicsWorldOptions

    Rapier3D 物理ワールドの生成オプションです。 PhysicsWorldOptions を拡張し、Rapier3D 固有の設定を追加します。

    interface RapierPhysicsWorldOptions {
        gravity: { x: number; y: number; z: number };
        timestep: number;
    }

    Hierarchy (View Summary)

    Index

    Properties

    Properties

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

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

    timestep: number

    物理シミュレーションの1ステップあたりの時間(秒)。デフォルトは 1/60