# Tutorial: Gravity Assist

Over-simplified example of gravitational slingshot: the spacecraft's velocity (v) changes by up to twice the body's orbital velocity (U).

A Gravity Assist a.k.a. Swing-By or Slingshot is a very fuel-efficient method to change your craft's speed and heading using the orbital velocity and gravity of a celestial body. With the exception of Kerbol, every celestial body orbits another larger body. Whichever celestial body that your craft is currently in the sphere of influence of, that body's own orbital velocity is also influencing your craft. Orbiting bodies must have great orbital velocity in order to maintain that orbit around their parent body. If you move from the SOI your currently in to that of an orbiting body ('Kerbol to planet' or 'planet to moon'), you can use that new body's orbital velocity and gravity to your own advantage to increase or decrease your craft's speed and change its heading much more efficiently than firing engines alone.

• Length: 30 minutes
• Difficulty: Medium
• For version: 0.18.4

## How to do it

In this example we will leave from Kerbin to a trajectory to Duna by performing a gravity assist around the Mun. Usually you need to raise your apoapsis to 85 million km to escape from Kerbin. With this method we will just have to get to the Mun orbit (12 million km). This will save you fuel for several hundred m/s of delta-v.

1. Get your ship into a circular Low Kerbin Orbit
2. Zoom out so you can see the orbit of Kerbin around the sun.
3. Arrange for a fly-by with the Mun just like you learned in the "Going to the Mun" ingame tutorial, but arrange for it to happen while the Mun is heading into the direction you want to go. In this case we want to get further way from the sun, so do it when the Mun is going in that direction - the moment it intersects the orbit of Kerbin.
4. Accelerate time until you reach the sphere of influence of the Mun
5. Now plan another course correction maneuver. The maneuver is more effective when you are close, so try to pass the Mun as close as possible without colliding. Your Mun periapsis needs to be behind Mun on Muns trajectory. When you pass in front of Mun, you will lose speed instead of gaining it. Also watch the declination of your trajectory - when it gets too high it will be problematic.
6. Accelerate time until you left the SoI of the Mun.
7. When you check the map you will notice that you are on a much wider orbit than you were before the Mun fly-by (likely with an apoapsis beyond Minmus orbit), but it's not a Kerbin escape trajectory yet. The Mun hasn't yet given you all the speed it can.
8. So perform another correction maneuver which leads you to another close Mun fly-by and again try to pass it as close as possible. The best moment to perform this maneuver is usually when you are furthest away from Mun.

Congratulations, you should now be on an orbit leading you in the general direction of Duna with plenty of fuel left for the return trip. When you want to go back, perform the same trick with Ike.

## Reverse Gravity assist

Pass in front of a celestial body to brake and behind a celestial body to accelerate
Using a reverse gravity assist around Tylo to get into a Jool orbit. The necessary course correction required less fuel than getting close enough to Jool for an aerobrake maneuver. It is also much safer than aerobraking.

Should you enter the Duna-Ike system in a suitable trajectory, you can perform a reverse-gravity-assist to lose speed instead of gaining it. To do so just do an Ike-fly-by. In order to lose speed instead of gaining it, your Ike periapsis needs to be in front of Ike's trajectory instead of behind it.

## Powered Gravity assist

To get even more out of a gravity assist, you can perform a powered gravity assist. As you know, accelerating at your periapsis has the greatest effect on your apoapsis. This still applies to your periapsis during a gravity assist. When you accelerate during your fly-by, this fuel is used very efficiently to increase the apoapsis of your final trajectory. This is, however, a very difficult technique, because it is hard to control your final trajectory, even when using a maneuver node.