Gravity

BlitzMax Forums/BlitzMax Programming/Gravity

How about if you have two large circular bodies representing planets and each has its own gravity and you want free-floating objects in space to be appropriately attracted, so that in the area where the gravitational fields of both planets overlap, some of the gravity cancels each other out?

In that scenario, where you can see things on a big scale, does the pull of gravity need to diminish over distance so, let's say, you don't get any pull if you are half a screen away from the surface?