Documentation
    Preparing search index...

    Function massToDisplay

    • Converts an engine mass in world mass units to the declared display unit.

      Parameters

      • worldMass: number

        the engine value (RigidBody.mass, a derived mass, …)

      • units: UnitSystem

        the declared system

      Returns number

      the same mass expressed in units.mass