Skip to content

Added gravity simulator

Choose a tag to compare

@cosinekitty cosinekitty released this 27 May 23:52
· 350 commits to master since this release

The new gravity simulator feature allows defining an arbitrary list of small bodies such as asteroids, comets, or coasting spacecraft. The caller provides the position vectors and velocity vectors of the bodies at an initial time. Then the gravity simulator can step through small time increments and update the positions and velocities of the bodies as they are affected by the gravitational pull of the Sun and planets.