KSP-RO / LunarTransferPlanner

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Doesn't work in the Southern Hemisphere

Dunbaratu opened this issue · comments

The first time I used Lunar Transfer Planner coincidentally happened to also be a career when I decided to play from New Zealand for something different.

The "First Transfer" display NEVER reaches zero. Not even close. As I time warp, the lowest it ever gets is about 4 hours, at which point it snaps to 16 hours.

As this was the first time I used Lunar Transfer Planner I assumed it was me just not understanding it. But others told me the timer reaches Zero when they play.

Eventually I figured out - they're all using Northern Hemisphere launch sites. I'm using a Southern Hemisphere launch site.

I switched my launch site to several different sites and found the behavior is consistent - if your launch site is in the southern hemisphere, the "First Transfer" will never reach zero. Ever. If your launch site is in the northern hemisphere, it works fine.

There must be something in the math that isn't correctly handing the case of starting from negative latitude degrees.