Skip to content

Experimental Unity package to enable access to NVIDIA PhysX SDK 4 from within Unity.

License

Notifications You must be signed in to change notification settings

NVIDIAGameWorks/UnityPhysXPlugin

Repository files navigation

UnityPhysXPlugin

Experimental Unity package to enable access to NVIDIA PhysX SDK 4 from within Unity.

Build

  • Get PhysX 4.1 from GitHub (https://github.com/NVIDIAGameWorks/PhysX),

  • In \physx\buildtools\presets\public\vc15win64.xml change PX_GENERATE_STATIC_LIBRARIES to True.

  • Build PhysX and create PHYSX_DIR environment variable pointng to its root.

  • Install CMake 3.14+ (https://cmake.org/) and SWIG 4.0+ (http:https://www.swig.org/) and add them to your PATH environment variable.

  • Run .\generate_projects.cmd file.

  • Open and build .\Build\NVIDIA.PhysX.sln solution in Visual Studio 2017.

Run

  • Start Unity and open .\Unity\PhysX project.