orbital-engine
    Preparing search index...

    Function bodyPoleVector

    • The spin axis a body's equator (and rings) is built from, as a unit reference-frame vector: its pole when set; otherwise axialTiltDeg tilted toward −y — the equator then has its ascending node on +x and an inclination of the tilt, exactly the plane an orbit with inclinationDeg = tilt and longitudeOfAscendingNodeDeg 0 lies in; otherwise straight up (+z).

      Parameters

      Returns Vec3Km