The secret to Warframe's ship-to-ship space combat is that the ship doesn't actually move

Math is hard, but Space Math is even harder. If you can imagine all the complex physics calculations that go into moving a videogame character around a 3D space, think about how much harder it would be if that level was also moving around a 3D space. That's the conundrum Digital Extremes was facing when it first conceived of ship-to-ship space combat almost ten years ago—a problem it finally managed to solve in Warframe's upcoming Empyrean update.

If you missed out on all the big Warframe news from its annual Tennocon convention last weekend, the gist is that Warframe is getting an expansion where you can build spaceships and fly them with three of your friends. At any time, you can leave your ship to board enemy ships or explore ruins floating in space. It all looks really ambitious and exciting.

But the physics calculations necessary to have ships that players can walk around in that are also pitching and yawing through 3D space are extremely complex and demanding. That's why, as detailed in our extensive interview with game director Steve Sinclair, Digital Extremes originally abandoned the idea when it was first prototyping Warframe over a decade ago. But as Sinclair explains, that fantasy of space ninjas piloting spaceships stuck with him and he was eventually able to solve the problem using some clever tricks.

You should watch the Empyrean demo above so you have a reference for what I'm about to explain. As you can see in the demo, the player takes control of the ship and flies around space and it all looks just like it does in any other space game like Star Citizen or No Man's Sky. But here's the trick: The ship isn't actually moving.

Instead, Digital Extremes is using an ancient rendering technique called 'portal rendering' which works almost exactly like it does in the puzzle game Portal. Essentially, you create a portal or a window that is attached to somewhere else in 3D space, and when you look through it you see from a different perspective. The cockpit of Warframe's spaceship is actually one big portal into an entirely separate map.

"You just connect the player controls to where that portal is," Sinclair said in our interview. "For Empyrean, there's a big 32 kilometer-squared space where all the space combat is happening and you're pitching around and it feels like you might vomit, but [off to the side] there's a little level and that's your actual spaceship. You have a solid, reliable physics system driving what appears to be this six degrees of freedom experience over here [in an entirely separate area]."

The trick is apparently so clever, even some of Digital Extremes' own programmers were confused by it. "The idea was so sound that last week—last friggin' week—one of the graphics engineers, who is a way better programmer than me, said 'I think this is a problem because the level is rotating too fast.'" Sinclair told me. "And I'm like, whoa, pump the brakes. The level doesn't move. It's fixed in space and we're just moving the backdrop perspective."

If players leave the ship, they're then teleported into that real section of virtual space where they see a model of the spaceship their friends are piloting—but it's not the actual spaceship with full rendered interiors.

Whereas games like Star Citizen strive to simulate spaceflight more directly, that comes at an enormous burden to both the game engine, the computer playing the game, and the developers who have to stitch it altogether. "I'm going to fake it because I can make it faster," Sinclair laughed.

Thanks to lots of nuanced lighting and spatial effects, the trick works. From the demo, it's impossible to tell that you're not actually flying in 3D space.

That's just one of the cool tidbits that came from my time at Digital Extremes offices last weekend. Read the full interview to get a more in-depth look at the challenges Digital Extremes faced when making Empyrean, and check out my overview of all its cool features for more on why it's so exciting.

Steven Messner

With over 7 years of experience with in-depth feature reporting, Steven's mission is to chronicle the fascinating ways that games intersect our lives. Whether it's colossal in-game wars in an MMO, or long-haul truckers who turn to games to protect them from the loneliness of the open road, Steven tries to unearth PC gaming's greatest untold stories. His love of PC gaming started extremely early. Without money to spend, he spent an entire day watching the progress bar on a 25mb download of the Heroes of Might and Magic 2 demo that he then played for at least a hundred hours. It was a good demo.

Latest in Third Person Shooter
helldivers 2
Helldivers 2 composer recalls stomping around his apartment and channeling 'Super Patriotism' to capture Arrowhead's satirical vision in music: 'The satire works because the music believes it's a pure patriotic love without irony or criticism'
farcana
'The Middle East's answer to Marvel Rivals' is an 'AI-powered', crypto-infused hero shooter that looks like hot garbage
Marvel Rivals characters - Invisible Woman preparing to cast a shield.
'Searches for Invisible Woman went up 3,000%': Marvel Rivals devs innocently reflect on how popular some of their heroes have become
A Helldiver charges through the fire and flames in Helldivers 2.
Helldivers 2 CCO Johan Pilestedt says the industry's got it backwards by putting features over fundamentals: 'We talk way too little about the core philosophy'
Marvel Rivals codes - Venom and other heroes
'A developer who actually listens': Marvel Rivals' devs fix accidental Peni Parker nerf just 9 short hours after saying they would
Two characters from Warframe 1999 lounging in a bar.
The warframe with a guitar that shoots fire is out today alongside a bunch of metalcore-inspired skins, cementing Warframe's spiral into Y2K madness
Latest in News
Decorations in TCG Card Shop Simulator
TCG Card Shop Simulator finally adds the ability to decorate our stores, and suddenly all my profits are being spent on adorable Pigni posters
A promotional image for the Compal Adapt X modular laptop, as presented by the iF Design Foundation
If you've ever wanted to upgrade a laptop with 'modular AI units' then Compal might just have the very thing you're looking for
Gabe Newell in a Valve promotional video, on a yacht.
Gabe Newell had his eyes on a social network in the '90s that 'was not in a games context at all'—meaning Valve-owned social media could've been a very real thing
Dune Awakening
Dune: Awakening system requirements are here, complete with Razer Sensa HD haptic support to 'feel the rumble of your ornithopter's seat'
An image of a MSI power supply unit against a circular gradient blue background
MSI has gone so heavy with 12V-2x6 power sockets in its latest high-end PSUs that many AMD and Intel graphics cards have no way of being powered
A dried ghast, a ghastling, and a friendly ghast all smiling
The latest Minecraft Live uncovered the tragic truth of the Nether's most bothersome mob, which has unlocked new levels of guilt