Skip to content

Automatically generated C# bindings for NVIDIA PhysX.

License

Notifications You must be signed in to change notification settings

PathogenPlayground/Mochi.PhysX

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mochi.PhysX

MIT Licensed Sponsor

This repo contains C# bindings for NVIDIA PhysX as well as a Biohazrd-powered generator for generating them.

The bindings are still young but should be usable on Windows with some quirks. If you're interested in using PhysX on .NET, please consider sponsoring development of this library.

License

This project is licensed under the MIT License. See the license file for details.

Additionally, this project has some third-party dependencies. See the third-party notice listing for details.

Building PhysX and generating the bindings

  1. Ensure Git submodules are up-to-date with git submodule update --init --recursive
  2. Build and run build.cmd from the repository root

Note: You may see many errors and warnings during generation. This is because Biohazrd doesn't support everything in PhysX yet. These errors only indicate the corresponding APIs were skipped, so the output should still be fine as long as you don't need those APIs.

If you make any changes to the PhysX source code or change the branch it uses, you must re-generate the bindings using build.cmd.

Building the sample

Building/running the sample is currently only supported on Windows x64 with Visual Studio 2019.

The sample does not currently have a graphical output, but will automatically connect to the PhysX Visual Debugger if it's running.

Prerequisites

Tool Recommended Version
Visual Studio 2019 16.9.4
.NET Core SDK 6.0
PhysX Visual Debugger Latest

Visual Studio requires the "Desktop development with C++" and ".NET desktop development" workloads to be installed.

About

Automatically generated C# bindings for NVIDIA PhysX.

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

 
 
 

Languages

  • C# 69.8%
  • CMake 11.6%
  • Python 9.4%
  • Batchfile 7.5%
  • C++ 1.7%