Description

The Gravity Model computes the gravitational acceleration and potential energy at a given location based on all celestial bodies in the simulation. It serves as a container for gravity calculations that can be attached to objects requiring gravitational influence.


Example Use Cases

  • Spacecraft Dynamics: Provides gravitational acceleration contributions to the equations of motion.
  • Multi-Body Gravity: Accounts for gravitational influence from multiple celestial bodies in the simulation.