/PhysX.NET

PhysX.NET is a .NET wrapper for NVIDIA PhysX 4.1.2, written using C++/CLI.

Primary LanguageC++MIT LicenseMIT

blue PhysX icon

PhysX.NET

NuGet

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.

Features

  • 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

Usage

To use PhysX.NET, follow these steps:

  1. Install via NuGet: Add the package to your project using the .NET CLI:

    dotnet add package PhysX4.NET

    Or search for PhysX4.NET in the NuGet Package Manager in Visual Studio.

  2. Initialize PhysX: Follow the examples provided in the repository to set up and initialize PhysX in your project.

Example

Sample implementations are available in the Samples directory of the repository. These examples demonstrate how to use the wrapper and its features.

Development

Feature Requests

Feature requests are welcome! If you have specific needs or suggestions, please open an issue on the GitHub Issues page to discuss your ideas.