PxVehicleDrive Class Reference
[Vehicle]
A complete vehicle with instance dynamics data and configuration data for wheels and engine,clutch,gears,autobox.
More...
#include <PxVehicleDrive.h>
Inheritance diagram for PxVehicleDrive:
![Inheritance graph](classPxVehicleDrive__inherit__graph.png)
Collaboration diagram for PxVehicleDrive:
![Collaboration graph](classPxVehicleDrive__coll__graph.png)
Public Attributes | |
PxVehicleDriveDynData | mDriveDynData |
Dynamics data of vehicle instance. | |
Protected Member Functions | |
PxVehicleDrive () | |
~PxVehicleDrive () | |
bool | isValid () const |
Test that all instanced dynamics data and configuration data have legal values. | |
void | setToRestState () |
Set vehicle to rest. | |
void | free () |
Deallocate a PxVehicle4WDrive instance. | |
void | setup (PxPhysics *physics, PxRigidDynamic *vehActor, const PxVehicleWheelsSimData &wheelsData, const PxU32 numDrivenWheels, const PxU32 numNonDrivenWheels) |
Static Protected Member Functions | |
static PxU32 | computeByteSize (const PxU32 numWheels4) |
static PxU8 * | patchupPointers (PxVehicleDrive *vehDrive, PxU8 *ptr, const PxU32 numWheels4, const PxU32 numWheels) |
Friends | |
class | PxVehicleUpdate |
Detailed Description
A complete vehicle with instance dynamics data and configuration data for wheels and engine,clutch,gears,autobox.
- See also:
- PxVehicleDrive4W, PxVehicleDriveTank
Constructor & Destructor Documentation
PxVehicleDrive::PxVehicleDrive | ( | ) | [inline, protected] |
PxVehicleDrive::~PxVehicleDrive | ( | ) | [inline, protected] |
Member Function Documentation
Reimplemented from PxVehicleWheels.
void PxVehicleDrive::free | ( | ) | [protected] |
Deallocate a PxVehicle4WDrive instance.
Reimplemented from PxVehicleWheels.
Reimplemented in PxVehicleDrive4W, and PxVehicleDriveTank.
bool PxVehicleDrive::isValid | ( | ) | const [protected] |
Test that all instanced dynamics data and configuration data have legal values.
Reimplemented from PxVehicleWheels.
Reimplemented in PxVehicleDrive4W, and PxVehicleDriveTank.
static PxU8* PxVehicleDrive::patchupPointers | ( | PxVehicleDrive * | vehDrive, | |
PxU8 * | ptr, | |||
const PxU32 | numWheels4, | |||
const PxU32 | numWheels | |||
) | [static, protected] |
void PxVehicleDrive::setToRestState | ( | ) | [protected] |
Set vehicle to rest.
Reimplemented from PxVehicleWheels.
Reimplemented in PxVehicleDrive4W, and PxVehicleDriveTank.
void PxVehicleDrive::setup | ( | PxPhysics * | physics, | |
PxRigidDynamic * | vehActor, | |||
const PxVehicleWheelsSimData & | wheelsData, | |||
const PxU32 | numDrivenWheels, | |||
const PxU32 | numNonDrivenWheels | |||
) | [protected] |
Friends And Related Function Documentation
friend class PxVehicleUpdate [friend] |
Member Data Documentation
The documentation for this class was generated from the following file:
Copyright © 2008-2012 NVIDIA Corporation, 2701 San Tomas Expressway, Santa Clara, CA 95050 U.S.A. All rights reserved. www.nvidia.com