March 4, 2015

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.

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 GDC 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 who will review and incorporate accepted submissions into their main PhysX branch, which then flows into future versions of UE4.

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.