PhysX™ Candy Wrapper is a C# wrapper for NVIDIA® PhysX SDK (formerly AGEIA™). It's also compatible with Visual Basic or any other .NET framework languages.
The library is open-source and customizable. You can integrate your own managed math (vector, matrix, etc.) library into the PhysX interface. Pre-built XNA, Mogre and Truevision3D compatible binaries exist.
PhysX state is manipulated through .NET-style object properties, collections, enumerations and callbacks.
Version 2.8.1 (March/October 2008) of the PhysX SDK is supported.
Here is a list of PhysX objects that are currently accessible:
If you experience any problems, please report them.
Binaries exist for
If you want the PhysX Candy Wrapper to support some popular 3D math library out of the box, post a request in the forums and I will prepare the binaries for you. Of course, you can always build from source and use your own math library.
PhysX Candy Wrapper was built against .NET Framework 3.5, but it compiles under the 2.0 version as well.
Only the Windows® platform is currently supported. Support for other platforms is being investigated.
You'll need a C++/CLI compiler, such as Microsoft® Visual C++® Express 2008. Older Visual C++ versions may work, but that hasn't been tested.
You can examine the source tree via the project's repository browser, or you can check-out your copy by issuing:
Alternatively, you could just point your TortoiseSVN to this https address.
The PhysX SDK is not included in the source package, but is required to build the wrapper library. You need to obtain a copy of the SDK and figure out the licensing options.
Before compiling, you need to write a few short conversion methods (around 20 lines of code total) and your managed math and scene-graph classes will integrate directly into the PhysX's interface. Instructions for customization and examples are included in the source package.
PhysX Candy Wrapper is distributed under the MIT-style license.
Copyright © 2008-09 Gregor Popović.
See license.txt in the source package for details.
PhysX and NVIDIA are trademarks or registered trademarks of NVIDIA Corporation.
NVIDIA Corp. is in no way affiliated with this project or its author(s), nor does NVIDIA Corp. in any manner endorse or otherwise approve of this library.
Microsoft, Windows and Visual C++ are registered trademarks of Microsoft Corporation.