-
Notifications
You must be signed in to change notification settings - Fork 27
MASITransfer
#MASITransfer.cs
The MASITransfer module does calculations to find phase angles and ejection angles for Hohmann transfer orbits. It provides functionality equivalent to the Protractor mod, but focused strictly on computations involving the current vessel and a target (either another vessel or a Celestial Body).
###transfer.CurrentPhaseAngle()
Returns: Current phase angle in degrees, from 0 to 360.
Returns the current phase angle between the vessel and its target.
BUG: Currently, this value is always between 0 and 180, not 0 and 360.
###transfer.RelativePhaseAngle()
Returns: The difference between the transfer phase angle and the current phase angle in degrees, ranging from 0 to 360.
Returns the difference (in degrees) between the current phase angle and the transfer phase angle. When this value reaches 0, it is time to start the transfer burn. If there is no valid target, this value is 0.
BUG: Currently, this value is always between 0 and 180.
###transfer.TransferPhaseAngle()
Returns: Required phase angle in degrees (always betweeen 0 and 180).
Returns the phase angle required to initiate a Hohmann
transfer orbit. This is the absolute phase angle, so it
does not vary over time when comparing two stable orbits.
Use fc.RelativePhaseAngle()
to count down to a transfer.
Returns 0 if there is no active target.
###transfer.UpdateTransferParameters()
Updater method - called at most once per FixedUpdate when the transfer parameters are being queried.
This documentation was automatically generated from source code at 18:15 UTC on 17/Oct/2016.