PhysXGame Download and Installation

From C4 Engine Wiki

Jump to: navigation, search

Contents

Downloads

The integration is available for build 149 and the latest release at http://www.terathon.com/forums/viewtopic.php?f=28&t=5202

The above links will take you to the latest forum post containing the release along with download instructions (For C4 Engine licensees only)

PhysX Version Information

The code is built against the following version of PhysX

  • SDK - V2.8.1
  • System Software - V8.04.25

Installation

The steps required to compile the PhysX Integration.

1. Make sure any work is backed up prior to integrating PhysX

2. Extract the .rar file to the root C4 folder, all of the code and files will be extracted to the correct locations, password is PhysX

3. Copy the folder C:\Program Files\NVIDIA Corporation\NVIDIA PhysX SDK\v2.8.1\SDKs to a folder called PhysX underneath C4 folder at the same level as Game Code.

4. Open the VS solution and right click the solution file in visual studio and select Add Existing Project. Add the following:

- NXUStream.vcproj from C4\VisualStudio\C4\NXUStream

- PhysXConvexDecomposition.vcproj from C4\VisualStudio\C4\PhysXConvexDecomposition

- NxCharacter.vcproj from C4\VisualStudio\C4\NxCharacter

- PhysXDemoTools.vcproj from C4\VisualStudio\C4\PhysXDemoTools

- PhysXDemoEditor.vcproj from C4\VisualStudio\C4\PhysXDemoEditor

- PhysXDemoExtras.vcproj from C4\VisualStudio\C4\PhysXDemoExtras

- PhysXDemo.vcproj from C4\VisualStudio\C4\PhysXDemo


5. Build the Engine first

6. Build the projects in the order above, ensuring that the WorldEditor is built before them.

7. Don't forget to set the working directory for debug.

Update variables.cfg

Open Data\Engine\variables.cfg and change

$applicName = "Game";

To

$applicName = "PhysXDemo";
Personal tools