Painting of a small freighter coasting past a ringed planet, leaving a faint dotted trail behind it

Why Do Spaceships Keep Drifting? Inertia in Space Games

By the Ixar team · · 7 min read

The short answer

Spaceships keep drifting because nothing in empty space slows them down. A ship holds its speed and direction until a force, such as an engine push, changes them, so to stop you have to push the other way. Games like Spacewar! copied this in 1962, and NASA's Gemini astronauts learned that real orbital flying is trickier than it looks.

Yes. In space, a ship keeps going until something pushes on it. Take your hand off the throttle and nothing slows you down, which is why ships in space games sail past the thing you were aiming at. It isn't a quirk of game design. It's Newton's first law, which NASA states as every object staying at rest, or moving in a straight line at a steady speed, unless an outside force changes that. Games borrowed the idea in 1962, and real astronauts were still getting caught out by how things move in orbit in 1965.

Why nothing slows you down

On the ground, everything brakes for you without asking. NASA's classroom notes compare it to a rolling ball: it stops because of friction between it and the floor, not because it got tired. Take the floor away and the ball just keeps rolling.

Space is the floorless version. NASA's own example from the space station is passing a tool to a crewmate. Give it a push and it floats along at the same speed until someone grabs it. Nobody has to keep pushing. The push is over in a moment, and the motion lasts.

So an engine in space doesn't hold a speed the way a car's engine does. It changes your speed. Burn for a second and you're going faster. Stop burning and you're still going that fast. To slow down, you push the other way, which means turning the ship around and firing against your own direction. Players call this flip and burn, and it is the one move that separates people who find space games relaxing from people who take them personally.

The pushing comes from Newton's third law: for every push there is an equal push back. NASA's Glenn center uses it to explain how a jet engine makes thrust. A rocket throws gas one way and the ship goes the other, so the exhaust has to point where you don't want to go.

The space station still needs a shove now and then

There's a catch, and it's the sort of thing a quiz show loves. If ships keep going forever, why does the International Space Station need regular boosts?

Because it isn't quite in empty space. NASA says the station flies about 250 miles up, at the edge of Earth's upper atmosphere, where a few stray air molecules rub against it. That friction slows it ever so slightly. Left alone, its orbit would sink until it fell toward Earth and burned up. So now and then a visiting spacecraft docks and fires its thrusters to lift the station back up. Spaceflight Now reports that engines in Russian modules and docked Progress cargo ships have done this job, with Northrop Grumman's Cygnus ships adding some help more recently. Without those planned firings, the station would eventually come down on its own.

That's useful for anyone designing a game, because it shows both sides. Far from anything, a ship would hold its speed. Close to a planet, there's a little drag and a lot of gravity. Plenty of games add a speed limit or a touch of drag, and we'd call that a design choice rather than cheating. In our opinion the best ones keep most of the drift and trim only the worst of it.

How Spacewar! put it on a screen

In 1961, a few friends wanted a program that would show off MIT's new computer. The Computer History Museum says Steve Russell, Martin Graetz and Wayne Wiitanen came up with Spacewar!, inspired by pulp science fiction. Much of the work happened under the grand name of the Hingham Institute Space Warfare Study Group, which was really Russell's home. Peter Samson, Dan Edwards and Graetz made big improvements in the spring of 1962.

The game has two players, each commanding a ship, each trying to destroy the other against an astronomically correct star field. The museum adds that it needed over 100,000 calculations a second to work out ship motion, gravity, controls and star positions. On a computer of that era, that was a lot of effort to make a toy feel like physics.

Graetz wrote up how it worked in 1962. Each ship had propulsion rockets and simulated rotation gyros. Turning and moving were separate jobs. The gyros set which way the nose pointed, and the main rocket pushed the ship toward wherever the nose was aimed for as long as the engine stayed on. That means where you're pointing and where you're going are no longer the same thing, which is both the whole joke and the whole skill. Torpedoes left the nose carrying the ship's own speed on top of their launch speed.

In the middle of the screen sat a heavy star that pulled on both ships. Graetz notes that a fast ship could swing close to it without being captured, a trick players used to change direction quickly. Each player also had three jumps into hyperspace as an emergency exit, and Graetz explained, with a straight face, that it must be hyperspace because it gets you from one place to another without crossing the distance in between.

From a mainframe to an arcade cabinet

Atari's Asteroids arrived in November 1979. The Strong National Museum of Play says it took its inspiration from Spacewar and from Computer Space, the first arcade video game. You flew a triangular ship through a field of space rocks using five buttons: rotate left, rotate right, thrust, fire and hyperspace. Atari sold more than 70,000 of the machines, making it the company's best-selling arcade game. The museum also says the game's glowing vector lines gave the illusion of a darting ship's vapor trail, which is a nice way to describe a ship that won't stop moving.

Rotate, thrust, fire, panic. In our view you can still see that control scheme in space games today.

What real pilots learned the hard way

NASA's astronauts ran into these rules the same way players do: by getting it wrong.

In 1965, Gemini IV astronaut James McDivitt tried to fly up to a spent booster. A physics paper describes what he did: he aimed at it and thrust toward it. After two bursts, the target seemed to move away and downward. He tried again, and again, with the same luck.

The reason is orbital, and it's the place where space beats common sense. Speeding up lifts you into a higher orbit, where you go around more slowly, so you fall farther behind. To catch something ahead of you, you slow down, drop to a lower orbit and go around faster. The paper's author says that "like most obvious answers in orbital mechanics, it is wrong." Later that year, Gemini VI-A pulled off a rendezvous with Gemini VII, so NASA learned fast. Even so, astronaut Michael Collins, flying Gemini 10, was exasperated enough by the looping paths of an approach to call them "wifferdills."

A game set in open space is easier, because no planet is bending your path. You only have to deal with the speed you already have.

Then there's Gemini VIII. On March 16, 1966, Neil Armstrong and David Scott made the first docking in space. About 27 minutes later, the joined ships began to roll. Armstrong used the thrusters to stop it, and it started again, then got worse. They undocked, thinking the fault was in their target. Away from it, the roll became even more violent. The stuck part turned out to be on their own ship: one of its thrusters had short-circuited and stayed open, and they couldn't switch it off by itself.

Afraid of passing out from the spin, Armstrong turned off the thruster system they'd been using and switched to the re-entry thrusters instead. After spending three-quarters of that fuel, he stopped the spin. Mission rules said to come home right away, so a flight planned for three days ended after 10 hours and 41 minutes. In a game, a thruster stuck on is a bug report. In orbit, it ended a mission. From Gemini IX onward, astronauts got circuit breakers that could turn off groups of thrusters.

Why games keep the drift

Our view is that drift is what makes flying a skill instead of point and click. You plan a turn before you start it, you use a planet's pull to swing around, and you feel very clever the first time you stop exactly where you meant to. Ixar, our free browser game, works this way: top-down, real-time, with other pilots in the same system, and ships that keep drifting after you ease off. You can start flying without signing up.

Four habits that make drifting easy

  • Start braking sooner than feels right. Stopping takes about as much effort as speeding up did.
  • Watch where you're going, not where the nose points. In a drifting game, they are two different things.
  • Tap, don't hold. Short bursts change your speed a little, and a little is easy to undo.
  • Let a planet or star help if the game has one. Spacewar!'s players used a close pass of the star to turn quickly.

If you still overshoot the dock, blame Newton. He can take it.

Sources

  1. NASA Glenn Research Center: Newton's Laws of Motion
  2. NASA: Newton's First Law of Motion (Next Gen STEM)
  3. Spaceflight Now: NASA plans for space station's demise with new SpaceX 'Deorbit Vehicle'
  4. Computer History Museum: Spacewar!
  5. DECUS Proceedings 1962: Spacewar! Real-Time Capability of the PDP-1, by J. M. Graetz
  6. The Strong National Museum of Play: Asteroids
  7. American Journal of Physics (arXiv): The Delicate Dance of Orbital Rendezvous
  8. Smithsonian National Air and Space Museum: Gemini VIII's Near-Disaster

Play Ixar free

Trade, fight pirates and jump between 58 star systems with other pilots. It runs in your browser, with no download and no sign-up to start.

Play Ixar free