So here we are finally, setting up the environment for PhysX.
Fire up your IDE, make a new project, go to the project settings, and add the following to your Include path:
- …your path\PhysX\Include
And for the lib path:
- …your path\PhysX\Lib\Win32
And lastly, add the following to your LINKER:
Notice how we use DEBUG libs, and not release libs. Obviously, you should always use the DEBUG libs whenever available.
Now make a new cpp file, if you haven’t created one already, below you have the full code for a basic initialization, put it in your cpp file.