A complete vehicle with instance dynamics data and configuration data for wheels and engine,clutch,gears,autobox.
More...
#include <PxVehicleDrive.h>
|
bool | isValid () const |
| Test that all instanced dynamics data and configuration data have legal values. More...
|
|
void | setToRestState () |
| Set vehicle to rest. More...
|
|
virtual void | init (const PxU32 numWheels) |
|
void | free () |
| Deallocate a PxVehicle4WDrive instance. More...
|
|
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. More...
|
|
void | setToRestState () |
| Set all wheels to their rest state. More...
|
|
bool | isValid () const |
| Test that all configuration and instanced dynamics data is valid. More...
|
|
void | free () |
| Deallocate a PxVehicleWheels instance. More...
|
|
void | onConstraintRelease () |
|
void | setup (PxPhysics *physics, PxRigidDynamic *vehActor, const PxVehicleWheelsSimData &wheelsData, const PxU32 nbDrivenWheels, const PxU32 nbNonDrivenWheels) |
|
PX_INLINE | PxBase (PxType concreteType, PxBaseFlags baseFlags) |
| Constructor setting concrete type and base flags. More...
|
|
PX_INLINE | PxBase (PxBaseFlags baseFlags) |
| Deserialization constructor setting base flags. More...
|
|
virtual | ~PxBase () |
| Destructor. More...
|
|
template<class T > |
bool | typeMatch () const |
|
A complete vehicle with instance dynamics data and configuration data for wheels and engine,clutch,gears,autobox.
- See also
- PxVehicleDrive4W, PxVehicleDriveTank
◆ PxVehicleDrive() [1/2]
PxVehicleDrive::PxVehicleDrive |
( |
PxBaseFlags |
baseFlags | ) |
|
|
inline |
◆ PxVehicleDrive() [2/2]
◆ ~PxVehicleDrive()
PxVehicleDrive::~PxVehicleDrive |
( |
| ) |
|
|
inlineprotected |
◆ computeByteSize()
static PxU32 PxVehicleDrive::computeByteSize |
( |
const PxU32 |
numWheels | ) |
|
|
staticprotected |
◆ free()
void PxVehicleDrive::free |
( |
| ) |
|
|
protected |
◆ getBinaryMetaData()
static void PxVehicleDrive::getBinaryMetaData |
( |
PxOutputStream & |
stream | ) |
|
|
static |
◆ getConcreteTypeName()
virtual const char* PxVehicleDrive::getConcreteTypeName |
( |
| ) |
const |
|
inlinevirtual |
◆ init()
virtual void PxVehicleDrive::init |
( |
const PxU32 |
numWheels | ) |
|
|
protectedvirtual |
◆ isKindOf()
virtual bool PxVehicleDrive::isKindOf |
( |
const char * |
superClass | ) |
const |
|
inlineprotectedvirtual |
◆ isValid()
bool PxVehicleDrive::isValid |
( |
| ) |
const |
|
protected |
Test that all instanced dynamics data and configuration data have legal values.
◆ patchupPointers()
static PxU8* PxVehicleDrive::patchupPointers |
( |
const PxU32 |
nbWheels, |
|
|
PxVehicleDrive * |
vehDrive, |
|
|
PxU8 * |
ptr |
|
) |
| |
|
staticprotected |
◆ setToRestState()
void PxVehicleDrive::setToRestState |
( |
| ) |
|
|
protected |
◆ setup()
◆ PxVehicleUpdate
friend class PxVehicleUpdate |
|
friend |
◆ mDriveDynData
Dynamics data of vehicle instance.
- See also
- setup
The documentation for this class was generated from the following file: