Gravity Engine 2
Gravity Engine 2¶
Version 4.0 (October 20, 2024)
Gravity Engine 2 is a Unity asset that provides gravitation simulation and orbital mechanics.
Gravity Engine 2 provides a complete toolkit for your space game physics.
create and configure orbits with editor and in-scene views
support for manual maneuvers, Hohmann and Lambert transfers
propagators for KEPLER, SGP4, ephemeris and PKEPLER motion
ability to use multiple evolution engines (no singletons!) in a scene
optional use of the Unity job system to offload physics calculations
clear separation between gravitational computation and the display of objects, optional multiple displays
simple, focused API
clear separation of world, physics and display scales
support for patched conic evolution
ability to build ALL of the solar system (planets, moons and small objects) in a sensible hierarchical model
rocket launch with ascent steering
circular three body evolution (cis-lunar etc.) with ability to import halo orbits from JPL
There are “quick tour” videos for the sample folders: