ABritInSpace / TransferCalculator-KSP2

An in-game interplanetary transfer calculator for KSP 2, including dV estimates and current/desired phase angles.
MIT License
6 stars 3 forks source link

Phase Angles Incorrect #15

Closed LameLefty closed 1 year ago

LameLefty commented 1 year ago

I tried to use this mod last night for a transfer from medium Jool orbit (circular, between the orbits of Laythe and Vall) back to Kerbin. The calculator gave me a desired phase angle of something like -409 degrees. It is unclear if this is simply the failure to subtract 360 degrees from the absolute value of the true desired phase angle, or some kind of other arithmetical error.

Also a usability quirk - please add a “close” widget to the upper-right corner of the window so the display can be closed out without de-selecting the target body.

ABritInSpace commented 1 year ago

Thanks for letting me know, this saved me a headache! Fix has been made and will be released in the next update - for now, just add 360 to the phase angle until you get an angle larger than -180. As for the widget, I'll work on this ASAP. No ETA as I currently don't have access to the game to test.

ABritInSpace commented 1 year ago

Fixed in latest.