Skip to content

yafei-ou/physx5-native-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PhysX 5 Native Plugin for Unity

A simple wrapper for using PhysX 5 in Unity.

Supported Platforms

As PhysX 5 requires CUDA to run the GPU simulations, including position-based dynamics (PBD) and finite-element method (FEM), this plugin requires a CUDA-compatible GPU (i.e., an Nvidia GPU).

Supported platforms: Windows and Linux, x86_64 (for details, see PhysX 5's platform requirements).

Prerequisites

Knowledge about Nvidia PhysX 5 SDK (version 5.2.1) is needed, which should be downloaded and built. This repo assumes that it is located in the same directory as the PhysX folder. Otherwise, adjust CMakeLists.txt accordingly.

ParentDirectory/
├── physx5-native-plugin/
├── PhysX/
│   ├── physx/
│   ├── ...

Build

git clone [email protected]:yafei-ou/physx5-native-plugin.git
cd physx5-native-plugin
mkdir build
cd build
cmake .. -DCMAKE_BUILD_TYPE=Release
cmake --build . --config Release

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages