NVIDIA Opens PhysX Code to UE4 Developers

by Tim Sweeney

When we think of compelling virtual worlds, we usually think of graphics. And with each new version of Unreal Engine, Epic has embraced the latest graphics APIs to consistently raise the bar for the type of visuals developers can achieve in their games. When you experience the huge, realistic world of our Kite demo running on NVIDIA TITAN X, you see the result of Epic’s longstanding commitment to state-of-the-art graphics.

Epic CEO Tim Sweeney
Epic CEO Tim Sweeney

But another key ingredient of virtual worlds is physics—the laws which govern the behavior and interaction of objects in the game. From the time we first unveiled UE4 at the Game Developers Conference in March 2012, the core game physics has been powered by NVIDIA PhysX. We’re proud to be able to provide all UE4 developers with what we consider the world’s best physics engine, built-in and fully integrated.

And today we’re excited to announce an expansion of that partnership with NVIDIA providing all UE4 developers with not just binary but C++ source access to the CPU-based implementation of PhysX 3.3.3, including the clothing and destruction libraries, through Epic’s Unreal Engine repository on GitHub.

This means that the entire UE4 community can now view and modify this PhysX code alongside the complete C++ source code for UE4. Modifications can be shared with NVIDIA, which will review and incorporate accepted submissions into their main PhysX branch, which then flows into future versions of UE4.

Epic's latest jaw-dropping demo, Kite, called upon the power of NVIDIA TITAN X.
Epic’s latest jaw-dropping demo, Kite, called upon the power of NVIDIA TITAN X.

For developers who are pushing the envelope with UE4 and PhysX, this is great news, and we’re really excited about it here at Epic. Source for NVIDIA PhysX can now be found as part of the Unreal Engine code on the GitHub network.

More coverage of our announcements with at GDC: Latest PhysX Source Code Now Available on GitHub, New NVIDIA TITAN X GPU Powers Virtual Experience “Thief in the Shadows” at GDC.