#include <PxVehicleDrive.h>


Public Member Functions | |
| PxVehicleDrive (PxBaseFlags baseFlags) | |
| virtual const char * | getConcreteTypeName () const |
| Returns string name of dynamic type. | |
Static Public Member Functions | |
| static void | getBinaryMetaData (PxOutputStream &stream) |
Public Attributes | |
| PxVehicleDriveDynData | mDriveDynData |
| Dynamics data of vehicle instance. | |
Protected Member Functions | |
| bool | isValid () const |
| Test that all instanced dynamics data and configuration data have legal values. | |
| void | setToRestState () |
| Set vehicle to rest. | |
| virtual void | init (const PxU32 numWheels) |
| void | free () |
| Deallocate a PxVehicle4WDrive instance. | |
| void | setup (PxPhysics *physics, PxRigidDynamic *vehActor, const PxVehicleWheelsSimData &wheelsData, const PxU32 nbDrivenWheels, const PxU32 nbNonDrivenWheels) |
| PxVehicleDrive (PxType concreteType, PxBaseFlags baseFlags) | |
| ~PxVehicleDrive () | |
| virtual bool | isKindOf (const char *name) const |
| Returns whether a given type name matches with the type of this instance. | |
Static Protected Member Functions | |
| static PxU32 | computeByteSize (const PxU32 numWheels) |
| static PxU8 * | patchupPointers (const PxU32 nbWheels, PxVehicleDrive *vehDrive, PxU8 *ptr) |
Friends | |
| class | PxVehicleUpdate |
| PxVehicleDrive::PxVehicleDrive | ( | PxBaseFlags | baseFlags | ) | [inline] |
| PxVehicleDrive::PxVehicleDrive | ( | PxType | concreteType, | |
| PxBaseFlags | baseFlags | |||
| ) | [inline, protected] |
| PxVehicleDrive::~PxVehicleDrive | ( | ) | [inline, protected] |
Reimplemented from PxVehicleWheels.
| void PxVehicleDrive::free | ( | ) | [protected] |
Deallocate a PxVehicle4WDrive instance.
Reimplemented from PxVehicleWheels.
Reimplemented in PxVehicleDrive4W, PxVehicleDriveNW, and PxVehicleDriveTank.
| static void PxVehicleDrive::getBinaryMetaData | ( | PxOutputStream & | stream | ) | [static] |
Reimplemented from PxVehicleWheels.
Reimplemented in PxVehicleDrive4W, PxVehicleDriveNW, and PxVehicleDriveTank.
| virtual const char* PxVehicleDrive::getConcreteTypeName | ( | ) | const [inline, virtual] |
Returns string name of dynamic type.
Reimplemented from PxVehicleWheels.
Reimplemented in PxVehicleDrive4W, PxVehicleDriveNW, and PxVehicleDriveTank.
| virtual void PxVehicleDrive::init | ( | const PxU32 | numWheels | ) | [protected, virtual] |
Reimplemented from PxVehicleWheels.
| virtual bool PxVehicleDrive::isKindOf | ( | const char * | superClass | ) | const [inline, protected, virtual] |
Returns whether a given type name matches with the type of this instance.
Reimplemented from PxVehicleWheels.
Reimplemented in PxVehicleDrive4W, PxVehicleDriveNW, and PxVehicleDriveTank.
References PxBase::isKindOf().
| bool PxVehicleDrive::isValid | ( | ) | const [protected] |
Test that all instanced dynamics data and configuration data have legal values.
Reimplemented from PxVehicleWheels.
Reimplemented in PxVehicleDrive4W, PxVehicleDriveNW, and PxVehicleDriveTank.
| static PxU8* PxVehicleDrive::patchupPointers | ( | const PxU32 | nbWheels, | |
| PxVehicleDrive * | vehDrive, | |||
| PxU8 * | ptr | |||
| ) | [static, protected] |
| void PxVehicleDrive::setToRestState | ( | ) | [protected] |
Set vehicle to rest.
Reimplemented from PxVehicleWheels.
Reimplemented in PxVehicleDrive4W, PxVehicleDriveNW, and PxVehicleDriveTank.
| void PxVehicleDrive::setup | ( | PxPhysics * | physics, | |
| PxRigidDynamic * | vehActor, | |||
| const PxVehicleWheelsSimData & | wheelsData, | |||
| const PxU32 | nbDrivenWheels, | |||
| const PxU32 | nbNonDrivenWheels | |||
| ) | [protected] |
friend class PxVehicleUpdate [friend] |
Reimplemented from PxVehicleWheels.
Reimplemented in PxVehicleDrive4W, PxVehicleDriveNW, and PxVehicleDriveTank.