Illustrated guide to docking (2024)

After just getting something into orbit (and perhaps a Mun landing), the next big challenge for a new KSP player is how to dock in orbit. Here's a step-by-step illustrated guide for how to do so.

(There are various techniques... and plenty of other guides out there. This is just how I like to do it. I hope you may find it useful.)

(Author's note: Please forgive the out-of-date screenshots. This post is ported from a blog entry I made on an older version of the forum software, back in 2015, so screenshots reflect what KSP looked like at the time. The appearance has changed a bit since then, but everything I wrote here still applies.)

The big picture

Docking

proceeds in four main steps:

  1. Rendezvous.
    • This is the part where you use maneuver nodes to arrange for your ship and the target to be in the same place at the same time, or at least as close as possible.
    • Careful fiddling with the maneuver node will generally get you a rendezvous within a kilometer or so.
  2. Fine tuning the rendezvous.
    • This involves making small burns as you approach the target, in the last few kilometers, so that your closest approach is zeroed in to a few dozen meters (from the kilometer-or-so you got in step 1).
    • This involves close observation of the navball and light touches on the throttle.
  3. Kill relative velocity to target, right when you're at your closest approach.
    • Also a navball-and-throttle operation. You're now parked right next to the target, just a few meters away.
  4. Actually dock.
    • This involves eyeballing docking port alignments in the camera view (unless you have a mod installed to show docking alignment on the navball, which is a big convenience).
    • This is where you use your RCS thrusters to jockey for position.


The following sections go into detail on these steps.

Step 1: Rendezvous

Navigation tool: Maneuver nodes and map view
Control via: Main engine and throttle

The first thing you have to do is to send your ship on a course that will put it and the target in the same place at the same time-- or, at least as close as you can get with maneuver nodes.

I'm assuming here that you in fact

have

maneuver nodes (i.e. you've unlocked them by upgrading the tracking station), and also that you're familiar with how to use them.

I'm also assuming that you know how to set up a fairly good orbital rendezvous with maneuver nodes, i.e. one that will get you a closest approach within a kilometer or two. This is a big assumption: doing that is actually a significant challenge, and if you're a new player just learning how to dock, there's a pretty good chance you may not have mastered "orbital rendezvous with maneuver nodes" as a skill yet.

However, I'm not going into it here, for a couple of reasons:

  • It's a whole complex topic in its own right, and this blog post is about docking rather than general orbital navigation. (I may add a "how to rendezvous" post at some time in the future, in which case I'll link to it from here. If my glossing over this part is frustrating, please let me know so that I can gauge demand. Illustrated guide to docking (1)) Here's a handy guide to rendezvous (not mine).
  • The details of how to set up a rendezvous vary a lot depending on the starting situation (e.g. launch from surface to direct intercept, or two craft already in orbit, are their orbits coplanar or not, etc.).

But even though I'm not telling you how to do it here, I can show you what "good" looks like:

Illustrated guide to docking (2)

Exactly what your own situation will look like depends heavily on circ*mstances. But the important bit is that it's a close rendezvous. You want the closest approach to be as close as you can manage with the maneuver node-- no more than 2 km at most, preferably under 1 km. (In the above example, it's 0.3 km, which is pretty good.)

One more side note:

  • See how the target (yellow) line and my own ship's (cyan) line are crossing each other like an X, rather than being close to parallel to each other at the point of intersect?
  • That's actually pretty bad: it means that they're orbiting in significantly different directions at the point of intersect, which in turn means that they're going to have big relative velocity to each other, which means I need to burn a lot of fuel.
  • I've done it that way deliberately, here, so that this guide can show you "how to dock" even if the situation's not perfect. Ideally, you will set it up better than this, so that their relative velocity at closest approach will be smaller, and therefore your job will be easier in the remaining steps. Illustrated guide to docking (3)

Step 2: Fine-tune the rendezvous

Navigation tool: Navball and map view
Control via: Main engine and throttle

Your eventual goal (in step 3, below) is to coast to a stop so that you're parked right next to the target (as in, just a couple of dozen meters apart).

Chances are, however, that unless you're either super lucky or an ace at maneuver-nodes, the rendezvous that you set up in Step 1 above will only get you to within a few hundred meters at best-- perhaps a kilometer or two. You'd like to be closer than that when you match velocities, since your final approach (using RCS) will be very slow, just centimeters per second, and you don't want to have to do that for a kilometer or more.

So the way to solve that is to make minor course adjustments with light touches on the throttle of your main engine, using the navball for guidance. Here's how:

First things first: Make sure navball is in "target relative" mode

Once you get close to the target, you don't care what your orbital velocity is. You only care about your velocity relative to the target. Chances are, the navball is probably in "Orbit" mode when you're in orbit (the game does that automatically, unless you've manually tinkered with it).

Normally, when you approach your target within 60 km, the navball will switch automatically to "Target" mode instead of "Orbit": this causes your prograde/retrograde markers to indicate your target-relative velocity rather than your orbital velocity, which is what you want. It looks like this (note the "Orbit" or "Target" indicator at the top of the navball):

Illustrated guide to docking (4)

...Typically, it will do this automatically for you and no action is required on your part. I only bring it up because it's possible this might not happen, and you need to make sure that the navball is in "Target" mode, or nothing after this point will make any sense. You can change the mode manually by clicking on the label. This will toggle the navball between Orbit, Surface, and Target modes.

Why this fine-tuning step is needed

As you get within several kilometers of your target, your navball will start to look something like this (again, make sure your navball is in target mode):
Illustrated guide to docking (5)

This looks pretty good: your Illustrated guide to docking (6) marker (target

relative velocity

) is pretty close to your Illustrated guide to docking (7) marker (target

direction

). The fact that these two are close together means that you are heading almost directly towards your target.

However, the key word here is "almost". If you just coast towards your target and do nothing, you'll see the Illustrated guide to docking (8) marker slide farther and farther away from the Illustrated guide to docking (9) marker, like this:
Illustrated guide to docking (10)

That's because you're not heading directly at the target. Unless you got super lucky (or are an ace) with the original maneuver node, your closest approach is likely to be at least several hundred meters away from the target. This means that without any course corrections, you're going to go past it, and the target Illustrated guide to docking (11) will slide off the side of your navball in the same way that someone standing beside the road slides off to the side of your windshield as you drive past them.

Therefore, you need to adjust your course when you get close by, so that you are sitting right next to your target (and not a kilometer away) when you come to a stop relative to it.

What to do

When you get reasonably close to your rendezvous (say, when it's 1 minute away, which you can see in the map view when you mouse over the intercept marker), start the process.

What you're trying to do is to move your Illustrated guide to docking (12) marker so that it's precisely centered on your Illustrated guide to docking (13) marker (i.e. so that you're heading directly at the target). To do this, start by lining up your navball so that your crosshairs, Illustrated guide to docking (14), and Illustrated guide to docking (15) are exactly lined up in a straight line, like this:
Illustrated guide to docking (16)

Note that the Illustrated guide to docking (17) marker is exactly on a straight line in between the navball crosshairs and the Illustrated guide to docking (18) marker.

Why do we do this? Well, firing your engines "pushes" the Illustrated guide to docking (19) marker away from the center crosshairs on the navball. Since what we want to do is move the Illustrated guide to docking (20) marker onto the Illustrated guide to docking (21) marker, then by lining the navball up this way, it will "push" the Illustrated guide to docking (22) marker in the direction we want it to go.

Once you've got it lined up, gently throttle up to move the marker. How much throttle you need will depend on your ship's TWR and how big your target-relative velocity is. So just keep a careful eye on the navball, gently throttle up, and be ready to kill the throttle immediately when things line up.

As your engine burns, you will see the Illustrated guide to docking (23) marker drift towards the Illustrated guide to docking (24) marker, like this:
Illustrated guide to docking (25)

When the two markers line up perfectly, cut throttle. (Don't worry if it's not pixel-perfect; all that matters is that it's better than it was. If you're off by a smidgeon, what will happen is that as you get closer to the target, the two markers will drift apart again, and you can do this correction maneuver again. Repeat as needed.)

Prograde fine-tuning (if you end up too slow while still far away)

In the preceding discussion, we did all our fine-tuning while thrusting close to Illustrated guide to docking (26). I recommend this because it kills two birds with one stone, thus saving dV: not only does it fix our heading to get a close approach to the target, but it also helps kill some of our velocity (since we'll need to reduce that down to zero in the next step).

However, it could happen that you end up approaching too slowly while still far away: i.e. your target-relative velocity is very low while you're still at a long distance. In such a case, fine-tuning in the prograde direction is an option. Details in spoiler.

Spoiler

Maybe you got overzealous in the next step and killed your velocity while you're still far away from the target. Or maybe your maneuver-node rendezvous has you at a very slow closing speed with the target. Or maybe you're just impatient. In other words, you could have a situation like this:
Illustrated guide to docking (27)

In a situation like this, you can do fine-tuning in the prograde direction instead of retrograde, so that you accelerate towards the target. The important thing to remember is that thrusting "pushes" the Illustrated guide to docking (28) marker away from the navball crosshairs, but it "pulls" the Illustrated guide to docking (29) marker towards the navball crosshairs.

Therefore, to do a maneuver like this, you flip around so you're pointing close to Illustrated guide to docking (30). You line things up so that the Illustrated guide to docking (31) marker is on a straight line in between the navball crosshairs and the Illustrated guide to docking (32) marker, like this:
Illustrated guide to docking (33)

Then you gently thrust, which will "pull" the Illustrated guide to docking (34) marker towards the navball crosshairs (and therefore towards the Illustrated guide to docking (35) marker). Cut the engine when they get lined up perfectly, like this:
Illustrated guide to docking (36)

Now you're headed straight at the target. You can proceed to Step 3 now. (Or, if you think you're still going too slow towards the target, you can line up Illustrated guide to docking (37) on your crosshairs and thrust some more.)

I recommend using this prograde technique sparingly: it wastes dV, since you're using fuel to increase your target-relative velocity, which you'll then need to spend even more fuel later to cancel out when you get close to the target.

Step 3: Kill relative velocity to target

Navigation tool: Navball and camera view
Control via: Main engine and throttle

This is the easiest part of the process, since there's little steering involved. All you have to do is slow down to a stop in the right place.

As you approach the target, line up your navball so that you're pointing perfectly retrograde (i.e. the Illustrated guide to docking (38) marker is centered perfectly in the crosshairs-- again, make sure your navball is in target-relative mode, not "orbit"). If you have a level-1-or-better pilot, or if you have a HECS-or-better probe core, then this is easy: just choose the "hold retrograde" SAS button (red arrow in the illustration below). But if you don't have that convenience, just do it manually.
Illustrated guide to docking (39)Illustrated guide to docking (40)

As you approach the target, the Illustrated guide to docking (41) marker will want to drift away from center; if necessary, you can do more correction as described above in step 2.

Reduce your speed gradually as you approach the target. If you wait too long, you'll overshoot; if you start too soon, you'll go too slowly and it takes forever to close the distance. I find that a handy rule of thumb is "stay 30 seconds away from intercept": switch to map mode and mouse-over the intercept marker, which will give you a timer countdown to closest approach. Thrusting to slow yourself down will increase the time-until intercept. Just keep that at 30 seconds until your speed gets down to whatever you're comfortable with (I usually go for around 10-15 m/s), then switch back to camera view and you can eyeball it the rest of the way.

When you get really close, slow yourself to a stop, 0 relative velocity. You're now parked right next to the target-- if you got things lined up well up to this point, you'll be very close, just a few meters away, like this:

Illustrated guide to docking (42)

Step 4: Prepare to dock

Navigation tool: Navball and/or camera view
Control via: reaction wheels only

First, get roughly lined up. We need to get the docking ports at least approximately lined up (facing towards each other).

If possible, the easiest way to do this is to switch briefly to the target ship (using the [ ] keys) and rotate it so that it points its docking port towards your ship, then switch back and rotate your ship appropriately. This is a lot faster and easier than flying your ship around the target to get in the right spot, which is tedious.
Illustrated guide to docking (43)Illustrated guide to docking (44)

(Sometimes that might not be an option, if it's not practical to rotate the target-- for example, if your target is a huge, massive, asymmetric space station with random stuff docked all over it. In that case you just gotta fly your ship to where it needs to be.)

Next, set your target and control-from to the two docking ports.

Right-click on the target docking port and choose "Set as Target":
Illustrated guide to docking (45)

Right-click on your own ship's docking port and choose "Control from Here":
Illustrated guide to docking (46)

Now, get your orientation precisely aligned. That is, you want the axis of your docking port and your target's to be precisely parallel. (They may be laterally offset from one another for now, but we'll deal with that next). There are a couple of ways to do this:

Option #1: Use a docking-alignment mod. My personal favorite is Navball Docking Alignment Indicator. It's very minimalistic, uses no screen real estate, stays out of my way when I don't need it. What it does is this: whenever your target is a docking port, it adds a red icon to the navball showing your alignment relative to it. When that red icon is perfectly centered in your navball cross-hairs, it means you're perfectly aligned for docking. So if you have this mod installed, all you have to do is rotate your ship to center that red icon. Your navball would then look like this:
Illustrated guide to docking (47)
...all you need to do is to rotate your ship to center the red icon in the navball crosshairs.

Option #2: Just eyeball the orientation. This is doable but less convenient. Not only do you generally have to monkey around with different camera angles, but it also becomes a royal pain in the dark, since you can't see what you're doing unless the ships are lit up. This is what I did for the first several months (and several hundred dockings) in KSP, until I got fed up and switched to option #1. Really, that mod ought to be part of the stock game, IMHO. Illustrated guide to docking (48)

Either of the above two options will work. For the remainder of this discussion, I'll use screenshots that have the mod present, not only because that's how I do it when I dock, but also because it makes the screenshots much easier to understand.

Next, turn on fine-control mode. This is caps lock by default (on Windows machines; I think it may be different on Macs). Doing this will turn your control indicators at bottom-left from

red to cyan, like this:
Illustrated guide to docking (49)
...The reason why you do this is described in another blog post, but what it boils down to is that it makes your RCS thrusters smarter so that it's easier to control your ship.

Next, activate RCS (press R). There, we finally get to use our thrusters!

Step 5: Dock!

Navigation tool: Navball and/or camera view
Control via: RCS thrusters

Okay, now the fun part. Illustrated guide to docking (50)
Thrust gently prograde using your RCS thrusters until you get your speed up to 0.2 or, at most, 0.3 m/s. Slow slow slow. Your ship is now heading directly straight ahead. However, that's not quite right yet, since the target is offset to the side by a bit. We need to apply some lateral thrust in order to get us heading in the right direction.

Initially, your navball might look something like this:
Illustrated guide to docking (51)

How to read this:

  • You're pointing in exactly the right direction: the red icon (from the mod I discuss above) is perfectly centered in the crosshairs, indicating that you're aligned correctly.
  • Your position isn't quite right, because the target isn't directly in front of you. The Illustrated guide to docking (52) is off to the left, instead of perfectly centered in the crosshairs where we want it.
  • Your velocity isn't quite right, either-- the Illustrated guide to docking (53) marker shows that you're moving up and rightwards as you drift forward, whereas your target is off to the left.

So now you need to use your RCS thrusters to correct that. Use your lateral thrust (IJKL for up, down, left, right) to nudge the Illustrated guide to docking (54) marker to where it needs to be. You want to arrange it so that the Illustrated guide to docking (55) marker is directly on a straight line between the Illustrated guide to docking (56) marker and the center crosshairs, like this:
Illustrated guide to docking (57)
...What this means is that as you drift towards the target, you're also drifting sideways so that you're lining up with it. As you get closer, you will see the Illustrated guide to docking (58) slide towards the center crosshairs. As it gets closer to the center, you can nudge the Illustrated guide to docking (59) marker inwards, too (using RCS), still keeping it lined up:
Illustrated guide to docking (60)

When the Illustrated guide to docking (61) marker reaches the center of the crosshairs, use RCS to center the Illustrated guide to docking (62) marker there, too.
Illustrated guide to docking (63)

You're now all set up perfectly for docking:

  • Centered red icon = you're facing the right way
  • Centered Illustrated guide to docking (64) = the target port is right in front of your port
  • Centered Illustrated guide to docking (65) = you're traveling directly towards it

Now all you have to do is just let it coast until docking completes.
Illustrated guide to docking (66)

Ta dah!

Illustrated guide to docking (2024)
Top Articles
Latest Posts
Article information

Author: Lakeisha Bayer VM

Last Updated:

Views: 6366

Rating: 4.9 / 5 (49 voted)

Reviews: 80% of readers found this page helpful

Author information

Name: Lakeisha Bayer VM

Birthday: 1997-10-17

Address: Suite 835 34136 Adrian Mountains, Floydton, UT 81036

Phone: +3571527672278

Job: Manufacturing Agent

Hobby: Skimboarding, Photography, Roller skating, Knife making, Paintball, Embroidery, Gunsmithing

Introduction: My name is Lakeisha Bayer VM, I am a brainy, kind, enchanting, healthy, lovely, clean, witty person who loves writing and wants to share my knowledge and understanding with you.