Cosmos Journeyer API Documentation - v1.10.1
    Preparing search index...

    Function getOrbitRadiusFromPeriod

    • Returns the orbital period of an object in seconds given its radius and the mass of the parent object

      Parameters

      • period: number

        The period of the orbit in seconds

      • parentMass: number

        The mass of the parent object in kilograms

      Returns number

      The radius of the orbit in meters