Flying on other planets: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 25: Line 25:
gravity.cxx<br>
gravity.cxx<br>
gravity.hxx<br>
gravity.hxx<br>
== Simulating gravity ==
After looking at the source code in the atmosphere and gravity files I decided to start by adjusting the gravity to that of titan because that planet is most likely able to be flown upon.<br>
I changed lines 48-52 to <br>
<code>
// Geodetic Reference System 1980 parameter
#define A 6576.0 // equatorial radius of Titan
#define B 6576.0 // semiminor axis
#define AGA (A*1.352) // A times normal gravity at equator
#define BGB (B*1.352) // B times normal gravity at pole
</code>
15

edits

Navigation menu