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

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

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 55.5%
  • C++ 38.6%
  • SWIG 5.0%
  • C 0.7%
  • CMake 0.1%
  • ShaderLab 0.1%