1
\$\begingroup\$

I'm looking at building something space-related, and trying to figure out how realistic gravity calculations would work.

The specific question I want to answer is, if I have a sun and an arbitrary number of planets in the system, and I know what the position and mass of each of them is, and I have a spaceship at position P trying to accelerate in direction D, how much thrust would that require if the same acceleration in purely gravitically "flat" space would require 1 unit of thrust?

For the sake of simplicity, assume that the entire solar system exists in a 2-dimensional plane.

\$\endgroup\$

1 Answer 1

1
\$\begingroup\$

Basically, you need to calculate gravitation force vectors (F = G * m1 * m2 / R^2) towards every massive body. Add them up and invert - that's additional force you need to apply to compensate for the gravity.

\$\endgroup\$

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .