29#ifndef PX_VEHICLE_4WDRIVE_H
30#define PX_VEHICLE_4WDRIVE_H
32#include "vehicle/PxVehicleDrive.h"
33#include "vehicle/PxVehicleWheels.h"
34#include "vehicle/PxVehicleComponents.h"
45class PxVehicleDrivableSurfaceToTireFrictionPairs;
87 return mAckermannGeometry;
121 bool isValid()
const;
126 static void getBinaryMetaData(PxOutputStream& stream);
160 eANALOG_INPUT_ACCEL=0,
162 eANALOG_INPUT_HANDBRAKE,
163 eANALOG_INPUT_STEER_LEFT,
164 eANALOG_INPUT_STEER_RIGHT,
165 eMAX_NB_DRIVE4W_ANALOG_INPUTS
214 const PxU32 nbNonDrivenWheels);
231 const PxU32 nbNonDrivenWheels);
240 void setToRestState();
253 bool isValid()
const;
259 virtual bool isKindOf(
const char* name)
const {
return !::strcmp(
"PxVehicleDrive4W", name) || PxBase::isKindOf(name); }
Binary deserialization context class.
Definition PxSerialFramework.h:174
Output stream class for I/O.
Definition PxIO.h:114
Abstract singleton factory class used for instancing objects in the Physics SDK.
Definition PxPhysics.h:91
PxRigidDynamic represents a dynamic rigid simulation object in the physics SDK.
Definition PxRigidDynamic.h:82
Definition PxVehicleComponents.h:579
Definition PxVehicleComponents.h:427
Data structure with instanced dynamics data and configuration data of a vehicle with up to 4 driven w...
Definition PxVehicleDrive4W.h:173
virtual bool isKindOf(const char *name) const
Returns whether a given type name matches with the type of this instance.
Definition PxVehicleDrive4W.h:259
PxVehicleDriveSimData4W mDriveSimData
Simulation data that describes the configuration of the vehicle's drive model.
Definition PxVehicleDrive4W.h:246
virtual const char * getConcreteTypeName() const
Returns string name of dynamic type.
Definition PxVehicleDrive4W.h:264
Data structure describing the drive model components of a vehicle with up to 4 driven wheels and up t...
Definition PxVehicleDrive4W.h:56
PX_FORCE_INLINE const PxVehicleDifferential4WData & getDiffData() const
Return the data describing the differential.
Definition PxVehicleDrive4W.h:76
PX_FORCE_INLINE const PxVehicleAckermannGeometryData & getAckermannGeometryData() const
Return the data describing the Ackermann steer-correction.
Definition PxVehicleDrive4W.h:85
Data structure describing non-wheel configuration data of a vehicle that has engine,...
Definition PxVehicleDrive.h:53
A complete vehicle with instance dynamics data and configuration data for wheels and engine,...
Definition PxVehicleDrive.h:493
Definition PxVehicleUpdate.cpp:4519
Data structure describing configuration data of a vehicle with up to 20 wheels.
Definition PxVehicleWheels.h:129
#define PX_FORCE_INLINE
Definition PxPreprocessor.h:335
#define PX_COMPILE_TIME_ASSERT(exp)
Definition PxPreprocessor.h:428
#define PX_DEPRECATED
Definition PxPreprocessor.h:418
Sorts an array of objects in ascending order, assuming that the predicate implements the < operator:
Definition PxBoxController.h:39
PxEMPTY
Definition Px.h:87
The control inputs for a PxVehicleDrive4W.
Definition PxVehicleDrive4W.h:157
The ordering of the driven and steered wheels of a PxVehicleDrive4W.
Definition PxVehicleDrive4W.h:140