Nivekk / KOS

Fully programmable autopilot mod for KSP.
Other
80 stars 30 forks source link

Add gravitational parameter mu to all bodies #238

Open baloan opened 10 years ago

baloan commented 10 years ago

The gravitational parameter mu = G m is used in orbit calculations for the central body. Still leaves us with defining G for all scripts. So we should either have a) the gravitational constant G, or b) mu for all bodies. Nice to have - compared to stuff like thrusters or UP where there is no workaround.

Dunbaratu commented 10 years ago

While it would be nice we DO have the mass of bodies and it's not hard to make up your own constant G variable. I don't think having to run G*M yourself is that big of a deal. I'd much rather see time spent putting the other body data (that we don't have) into the body system - like the air information or the radius. It's because these are missing that I'm still using my own homebrewed bodyDB for now.