Skip to main content

What does Nvidia's PhysX engine actually do?

Companion cube being thrown around with PhysX
(Image credit: Nvidia)

PhysX is essentially a physics engine. Simple, you can leave now. Although it's more than just that. Still in development by Nvidia, the PhysX API gives game designers a cheaty, GPU accelerated way of simulating realistic, dynamic objects in 3D environments.

It's one of the most popular ways to simulate physics without having to write millions of lines of code, and can encompass anything from exploding buildings, to Batman's cape, or even Geralt's long, flowing locks. It's even possible to create combustible fluid, fire, and smoke using PhysX. And it's a great feature to have in your games, but it's important to note that PhysX comes at a price. Even in the virtual world, cool hair and slick threads don’t come cheap.

PhysX comparison, turned off on the left.

The Arkham series has supported PhysX since Asylum. PhysX is turned off on the left. (Image credit: Rocksteady)

Right now, we're up to PhysX 5 (opens in new tab), which has come a long way since the first iteration. Mirror's Edge (opens in new tab) was one of the first showpiece games for PhysX cloth physics, but today's engine has even more of a flashy, next-gen vibe than it did back in the early days.

While the API is technically available to all, only Nvidia hardware is optimized for use with PhysX; AMD fans wont be able to make the most of GPU accelerated PhysX, but a beefy CPU should be able to give you a good taste of its ability.

Since PhysX is a separate API, it requires explicit support from software developers written into the code. This extra effort means many programming teams that don’t bother to support it, hit and miss. The best implementations frequently rely on Nvidia’s assistance during development, as well. PhysX 4 SDK is currently available via open source, or under a BSD 3 license. That means devs can debug, customize, and extend the PhysX SDK.

Even with support present, a lack of optimization can produce FPS drops or uneven performance, as is to be expected from any intensive game engine antics. That said, when properly used, the difference PhysX provides is dramatic. Smoke is richer, thicker, and more volumetric. Fabrics ripple realistically in the wind, and glowing particles crackle from flames and gunfire.

Witcher 3 makes extensive use of PhysX along with the rest of Nvidia’s Gameworks enhancements.

Witcher 3 makes extensive use of PhysX along with the rest of NVidia’s Gameworks enhancements. (Image credit: CD Projekt RED)

It’s a visual upgrade you can appreciate without freeze-frames or Photoshop analysis. Demos on the site give an even better look, with optimized code that pushes the API’s advantages to the limit, a glimpse of what universal support might have looked like.

And now with Nvidia Omniverse (opens in new tab) making ripples in the world of physics simulation, PhysX 5 is only going to make games more believable as we move into... *gulp* the Metaverse (opens in new tab).

Katie Wickens
Katie Wickens

Screw sports, Katie would rather watch Intel, AMD and Nvidia go at it. Having been obsessed with computers and graphics for three long decades, she took Game Art and Design up to Masters level at uni, and has been demystifying tech and science—rather sarcastically—for two years since. She can be found admiring AI advancements, scrambling for scintillating Raspberry Pi projects, preaching cybersecurity awareness, sighing over semiconductors, and gawping at the latest GPU upgrades. She's been heading the PCG Steam Deck content hike, while waiting patiently for her chance to upload her consciousness into the cloud.