All Projects → stilldesign → Physx.net

stilldesign / Physx.net

Licence: mit
A .NET wrapper for NVIDIA PhysX 4.1.0 written using C++/CLI.

Programming Languages

csharp
926 projects

Labels

Projects that are alternatives of or similar to Physx.net

Rhusics
A cgmath physics library that can be used with Specs
Stars: ✭ 105 (-31.37%)
Mutual labels:  physics
Landgreen.github.io
Landgreen's public site: physics notes, n-gon
Stars: ✭ 125 (-18.3%)
Mutual labels:  physics
Bornmay
Awesome Github Profile Readme. Github ReadMe Github Profile Readme Dynamic Github ReadMe Dynamic Github Profile ReadMe. Please Star and Fork
Stars: ✭ 140 (-8.5%)
Mutual labels:  physics
Interact
Brand New SwiftUI Library For Adding Dynamic Interaction To Views With Just A Single Modifier!
Stars: ✭ 107 (-30.07%)
Mutual labels:  physics
Galgebra
Symbolic Geometric Algebra/Calculus package for SymPy 🔮
Stars: ✭ 113 (-26.14%)
Mutual labels:  physics
Phaser Examples
Contains hundreds of source code examples and related media for the Phaser HTML5 Game Framework.
Stars: ✭ 1,680 (+998.04%)
Mutual labels:  physics
Physics3d
A 3D physics engine
Stars: ✭ 101 (-33.99%)
Mutual labels:  physics
Physac
2D physics header-only library for videogames developed in C using raylib library.
Stars: ✭ 151 (-1.31%)
Mutual labels:  physics
Curated resources
📚 Curated lists for programming, books, movies, music, games, etc
Stars: ✭ 116 (-24.18%)
Mutual labels:  physics
Wannier tools
WannierTools: An open-source software package for novel topological materials. Full documentation:
Stars: ✭ 136 (-11.11%)
Mutual labels:  physics
Bulletsharppinvoke
.NET wrapper for the Bullet physics library using Platform Invoke
Stars: ✭ 108 (-29.41%)
Mutual labels:  physics
Nphysics
2 and 3-dimensional rigid body physics engine for Rust.
Stars: ✭ 1,530 (+900%)
Mutual labels:  physics
Cp
(unofficial) Chipmunk2D in Go, no dependencies
Stars: ✭ 135 (-11.76%)
Mutual labels:  physics
Ode4j
Java 3D Physics Engine & Library
Stars: ✭ 105 (-31.37%)
Mutual labels:  physics
Setreplace
Wolfram Language Package for exploring Set and Hypergraph Substitution Systems
Stars: ✭ 142 (-7.19%)
Mutual labels:  physics
Root
The official repository for ROOT: analyzing, storing and visualizing big data, scientifically
Stars: ✭ 1,377 (+800%)
Mutual labels:  physics
Espresso
The ESPResSo package
Stars: ✭ 130 (-15.03%)
Mutual labels:  physics
Apple Music Animation
Apple music animation demo in Android
Stars: ✭ 153 (+0%)
Mutual labels:  physics
Matter Js
a 2D rigid body physics engine for the web ▲● ■
Stars: ✭ 12,522 (+8084.31%)
Mutual labels:  physics
Galpy
Galactic Dynamics in python
Stars: ✭ 134 (-12.42%)
Mutual labels:  physics

PhysX.Net

A .NET wrapper for NVIDIA PhysX 4.1.1 written using C++/CLI.

Nuget

PM> Install-Package PhysX.Net -Prerelease

Build all the things!

A zip of all relevant DLLs and samples - https://github.com/stilldesign/PhysX.Net/releases

Usage

Runtime files

You must have PhysX_64.dll, PhysXCommon_64.dll, PhysXCooking_64.dll, PhysXFoundation_64.dll and Ijwhost.dll in the same directory as your executable.

There is a helper .targets file which will add links of these to the root of your project. Each file has Copy to Output Directory set.

In your .csproj file:

  1. Set the GeneratePathProperty="true" attribute on the PhysX.Net <PackageReference /> node.
    • e.g. <PackageReference Include="PhysX.Net" Version="3.0.0-alpha1" GeneratePathProperty="true" />
  2. Add the follow to your .csproj file:
<ImportGroup>
    <Import Project="$(PkgPhysX_Net)\lib\RuntimeFiles.targets"/>
</ImportGroup>

Development

PhysX.Net 3.0.0-alpha1 for NVIDIA PhysX 4.1.1

  • Targets PhysX 4.1.1
  • 64 bit version only
  • Dependencies
  • Remaining:
    • Vehicle sample and a few related classes
    • Attach/Detach shape from an actor
    • Getting started guide for people
    • Serialization
    • Broad Phase
    • Deletion Listener

Building

Dependencies

  • Visual Studio 2019
  • VC++ v142 toolset for desktop - needed to build PhysX itself. If you've built PhysX already, this could be ignored.

Compiling

Compile PhysX

  • Clone the PhysX repo
  • Run generate_projects.bat from the physx directory
  • Open the solution and select the debug configuration
  • You'll need to change all the PhysX projects to use Multi-threaded Debug DLL in order for them to be consumed by .NET
    • Select the projects in the solution explorer, right click, properties, C/C++, Code Generation and change Runtime Library to Multi-threaded Debug DLL (/MDd)

Compile PhysX.Net

  • Clone this repo
  • The default location of the PhysX 4.1.1 repo directory is C:\NVIDIAGameWorks\PhysX
    • To specify an alternative location on your computer: define the environment variable NVIDIAPhysX411SDK. You can do this by running setx NVIDIAPhysX411SDK "C:\NVIDIAGameWorks\PhysX" /M (as administrator).
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].