CodeNewWorlds / UnityPhysXPlugin

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:C# 55.6%Language:C++ 38.6%Language:SWIG 5.0%Language:C 0.7%Language:CMake 0.1%Language:ShaderLab 0.1%Language:Batchfile 0.0%