orbital-engine
    Preparing search index...

    Function ionTailDirection

    • The ion tail's direction — along the solar wind's velocity as the comet sees it: the wind's radial outflow minus the comet's own velocity. starToComet is a unit vector; velocityKmS the comet's heliocentric velocity.

      Parameters

      • starToComet: WorldVec
      • velocityKmS: WorldVec
      • windSpeedKmS: number = SOLAR_WIND_SPEED_KM_S

      Returns WorldVec