PM> Install-Package PhysX.Net -Prerelease
A zip of all relevant DLLs and samples - http://stilldesign.co.nz/PhysX
- Targets PhysX 3.4.1
- 64 bit version only
- Dependencies
- .NET 4.6.2
- C runtime 2017 - https://aka.ms/vs/15/release/vc_redist.x64.exe
- Remaining:
- Vehicle sample and a few related classes
- Attach/Detach shape from an actor (recently added, but needs testing)
- Getting started guide for people
- Serialization
- Broad Phase
- Deletion Listener
- Visual Studio 2017
- VC++ 2015.4 v140 toolset for desktop (x86,x64) - needed to build PhysX itself. If you've built PhysX already, this could be ignored.
- Clone the PhysX repo
- Open the solution and select the debug configuration
- You'll need to change all the projects to use Multi-threaded Debug DLL in order for them to be consumed by .NET
- Select all the projects in the solution explorer, right click, properties, C/C++, Code Generation and change Runtime Library to Multi-threaded Debug DLL (/MDd)
- Clone this repo
- The default location of the PhysX 3.4 repo directory is F:\PhysX-3.4\PhysX_3.4
- To specify an alternative location on your computer: define the environment variable NVIDIAPhysX34SDK. You can do this by running
setx NVIDIAPhysX34SDK "C:\PhysX-3.4\PhysX_3.4" /M
(as administrator).
- To specify an alternative location on your computer: define the environment variable NVIDIAPhysX34SDK. You can do this by running