PhysX SDK 3.2 API Reference: PxVehicleSDK.h File Reference

PhysX SDK 3.2 API

PxVehicleSDK.h File Reference

#include "foundation/Px.h"

Include dependency graph for PxVehicleSDK.h:

foundation/Px.hfoundation/PxVersionNumber.hfoundation/PxSimpleTypes.hfoundation/PxPreprocessor.h

This graph shows which files directly or indirectly include this file:

PxPhysicsAPI.hPxVehicleShaders.hPxVehicleUtilControl.hPxVehicleUpdate.hPxVehicleUtilTelemetry.hPxVehicleWheels.hPxVehicleDrive.hPxVehicleDrive4W.hPxVehicleDriveTank.h

Go to the source code of this file.


Defines

#define PX_MAX_NUM_WHEELS   (20)
 Maximum number of wheel shapes allowed to be added to the actor.
#define PX_DEBUG_VEHICLE_ON   (1)
 Compiler setting to enable recording of telemetry data.

Enumerations

enum  eVehicleDriveTypes {
  eVEHICLE_TYPE_DRIVE4W = 0,
  eVEHICLE_TYPE_DRIVETANK,
  eVEHICLE_TYPE_USER0,
  eVEHICLE_TYPE_USER1,
  eVEHICLE_TYPE_USER2,
  eVEHICLE_TYPE_USER3,
  eMAX_NUM_VEHICLE_TYPES
}

Functions

PX_C_EXPORT bool PX_CALL_CONV PxInitVehicleSDK (PxPhysics &physics)
 Call this before using any of the vehicle functions.
PX_C_EXPORT void PX_CALL_CONV PxCloseVehicleSDK ()
 Shut down the PhysXVehicle library.
void PxVehicleSetBasisVectors (const PxVec3 &up, const PxVec3 &forward)
 Set the basis vectors of the vehicle simulation.



Copyright © 2008-2012 NVIDIA Corporation, 2701 San Tomas Expressway, Santa Clara, CA 95050 U.S.A. All rights reserved. www.nvidia.com