PhysX

PhysX Tutorials

These tutorials are a little time capsule from the AGEIA days of PhysX. They teach the PhysX 2.7 Nx* API that was current when I wrote them, including the old software/hardware simulation modes and Visual Studio setup from that era.

If you are starting a new physics project today, use the current NVIDIA PhysX SDK. If you are maintaining old PhysX 2.x code, reverse-engineering an older game, or just curious how the SDK used to work, the original series is still here below.

  • 1. PhysX Includes

    1. PhysX Includes

    PhysX is the physics API by Nvidia, and I had a play with it back when Ageia owned it. I am not sure how current these tutorials are, but I am keeping them up in the ...

    Read tutorial →
  • 2. PhysX Windows

    2. PhysX Windows

    Lets attach a GLUT window do our PhysX application!

    Read tutorial →
  • 3. PhysX Scenes

    3. PhysX Scenes

    PhysX, just like OpenGL, needs to be setup, but and instead of setting the OpenGL state, we setup our PhysX scene. Inside a scene, is where all collisions and physics are calculated.

    Read tutorial →
  • 4. PhysX Parameters

    4. PhysX Parameters

    After setting up a PhysX scene, you then need to assign some parameters, the parameter I will focus on is skin width.

    Read tutorial →
  • 5. PhysX Materials

    5. PhysX Materials

    Just like we assign materials to objects in OpenGL, we assign materials to objects in PhysX, only here they don't affect lighting, they affect the physical 'touch' of an object.

    Read tutorial →