Documentation
    Preparing search index...

    Interface PhysicsWorldUnits

    The two §40 scale factors a world reads. Structurally compatible with @fourjs/core's frozen unit-system record.

    interface PhysicsWorldUnits {
        scale: { lengthToMeters: number; massToKilograms: number };
    }
    Index
    scale: { lengthToMeters: number; massToKilograms: number }

    Type Declaration

    • ReadonlylengthToMeters: number

      Metres per authored length unit. Finite and greater than zero.

    • ReadonlymassToKilograms: number

      Kilograms per authored mass unit. Finite and greater than zero.