Gravity Engine 2
Gravity Engine 2¶
Version 1.0 (April 6, 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
- Overview and “Hello Orbit”
- Tutorials Changing Orbits: Ship In Orbit/Ship Transfer
- Tutorial: Nested Orbits and KEPLER (“on-rails”) mode
- Tutorial: Particles
- Tutorial: Ship Multiple Maneuvers
- Tutorials: Real-World Scenarios
- Scaling
- Scene Components
- Controllers
- Per Body Elements:
GSBody
- Display Objects
GSOrbitPoint
GSDisplayOrbitSegment
GSTransferShip
- GE2 Major Features
- External Forces:
GSExternalAcceleration
- The Core Code
- Orbits
- Orbit Transfers
- Right-Handed vs Left-Handed Coordinates
- GE2 vs GE: Key Differences