Skip to content

Files

Latest commit

Jun 14, 2021
d8d6deb · Jun 14, 2021

History

History
22 lines (13 loc) · 678 Bytes

README.md

File metadata and controls

22 lines (13 loc) · 678 Bytes

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://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.