PhysX.NET is a .NET wrapper for NVIDIA PhysX 4.1.2, implemented using C++/CLI. This project is a fork of PhysX.Net and includes a fully functional vehicle sample.
-
Vehicle Physics: This wrapper is the only one that offers vehicle physics implementation in C#. This project offers a fully functional vehicle simulation example.
-
Scene Management: Create and manage physics scenes.
-
Actor Management: Handle actors, their properties, and physics interactions.
-
Material Properties: Define and manage physical materials.
-
Raycasting and Queries: Perform raycasts and queries.
-
Debugging Tools: Visualize and debug physics interactions using the PhysX Visual Debugger.
-
Remaining Features:
- Attach/detach shapes from actors
- Serialization support
- Broad phase collision detection
- Deletion listener support
To use PhysX.NET, follow these steps:
-
Install via NuGet: Add the package to your project using the .NET CLI:
dotnet add package PhysX4.NET
Or search for
PhysX4.NETin the NuGet Package Manager in Visual Studio. -
Initialize PhysX: Follow the examples provided in the repository to set up and initialize PhysX in your project.
Sample implementations are available in the Samples directory of the repository. These examples demonstrate how to use the wrapper and its features.
Feature requests are welcome! If you have specific needs or suggestions, please open an issue on the GitHub Issues page to discuss your ideas.