I am new at gpraphics programming and trying out the PhysX-3.2.1 SDK. I created a PxRigidStatic plane and am dropping PxRigidDynamic actors (spheres/boxes) on it. Everything works fine and the physics seems to behave correctly but it only runs on CPU.
I have read some documentation parts and looked at the sample code but it’s to complex and hugh for beginners. So I have some questions:
- Do I need a PxParticleSystem to force computing physics on GPU?
- If yes, do I need CudaContextManager and CUDA?
- Does someone have a very simple and small example or a really good tutorial?
I would appreciate any help.
Thanks in advance.