Hi everyone,
I'm working on updating the [ame="http://orbithangar.com/searchid.php?ID=3165"]Attitude MFD[/ame] addon and would like to add the feature to target a planet (or moon) at a certain point in time. My question is, how do I calculate the position of a celestial body at a given point in time (e.g. the position of mars in 170,000 seconds from the current time)? Is there an API call for that? Or do I need to calculate the orbits manually?
Thanks in advance for any help you can provide.
I'm working on updating the [ame="http://orbithangar.com/searchid.php?ID=3165"]Attitude MFD[/ame] addon and would like to add the feature to target a planet (or moon) at a certain point in time. My question is, how do I calculate the position of a celestial body at a given point in time (e.g. the position of mars in 170,000 seconds from the current time)? Is there an API call for that? Or do I need to calculate the orbits manually?
Thanks in advance for any help you can provide.