Simulates gravitational capture into orbit around a central mass. The ship is a physics body under inverse-square gravity, so it can miss, slingshot, capture, or crash depending on velocity. A predicted trajectory line shows where the ship will go if you stop thrusting now. Optional orbital decay is applied as a subtle “drag” term so that without corrective thrust, orbits slowly shrink over time—useful for gameplay pacing and readability.
What this proves
- Real orbital mechanics behavior (capture vs flyby)
- Orbit stability as a function of velocity and radius
- Predictive path rendering (debug + player readability)
- Decay pressure (keeps the player engaged)