29#ifndef PX_VEHICLE_NWDRIVE_H
30#define PX_VEHICLE_NWDRIVE_H
32#include "vehicle/PxVehicleDrive.h"
33#include "vehicle/PxVehicleWheels.h"
34#include "vehicle/PxVehicleComponents.h"
44class PxVehicleDrivableSurfaceToTireFrictionPairs;
103 static void getBinaryMetaData(PxOutputStream& stream);
118 eANALOG_INPUT_ACCEL=0,
120 eANALOG_INPUT_HANDBRAKE,
121 eANALOG_INPUT_STEER_LEFT,
122 eANALOG_INPUT_STEER_RIGHT,
123 eMAX_NB_DRIVENW_ANALOG_INPUTS
172 const PxU32 nbWheels);
188 const PxU32 nbWheels);
197 void setToRestState();
210 bool isValid()
const;
217 static PxVehicleDriveNW* createObject(PxU8*& address, PxDeserializationContext&
context);
218 static void getBinaryMetaData(PxOutputStream& stream);
220 virtual bool isKindOf(
const char* name)
const {
return !::strcmp(
"PxVehicleDriveNW", name) || PxBase::isKindOf(name); }
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:532
Data structure with instanced dynamics data and configuration data of a vehicle with up to PX_MAX_NB_...
Definition PxVehicleDriveNW.h:131
PxVehicleDriveSimDataNW mDriveSimData
Simulation data that describes the configuration of the vehicle's drive model.
Definition PxVehicleDriveNW.h:203
virtual bool isKindOf(const char *name) const
Returns whether a given type name matches with the type of this instance.
Definition PxVehicleDriveNW.h:220
virtual const char * getConcreteTypeName() const
Returns string name of dynamic type.
Definition PxVehicleDriveNW.h:219
Data structure describing configuration data of a vehicle with up to PX_MAX_NB_WHEELS driven equally ...
Definition PxVehicleDriveNW.h:55
const PxVehicleDifferentialNWData & getDiffData() const
Return the data describing the differential of a vehicle with up to PX_MAX_NB_WHEELS driven wheels.
Definition PxVehicleDriveNW.h:74
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_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 PxVehicleDriveNW.
Definition PxVehicleDriveNW.h:115