Gravitational assist (source code)

= Gravitational assist
{wiki}

In a gravitational assist, a small body's speed relative to a moving massive body is deflected with nearly unchanged magnitude. Transforming back to the inertial frame can transfer orbital energy between the bodies.