30 #ifndef PX_VEHICLE_DRIVE_TANK_H 31 #define PX_VEHICLE_DRIVE_TANK_H 110 eANALOG_INPUT_ACCEL=0,
115 eMAX_NB_DRIVETANK_ANALOG_INPUTS
161 friend class PxVehicleUpdate;
199 const PxU32 nbDrivenWheels);
215 const PxU32 nbDrivenWheels);
225 mDriveModel=driveModel;
240 void setToRestState();
252 bool isValid()
const;
281 #endif //PX_VEHICLE_DRIVE_TANK_H Definition: GuContactBuffer.h:37
Friction for each combination of driving surface type and tire type.
Definition: PxVehicleTireFriction.h:62
Definition: PxVehicleDriveTank.h:68
Enum
Definition: PxVehicleDriveTank.h:62
PxRigidDynamic represents a dynamic rigid simulation object in the physics SDK.
Definition: PxRigidDynamic.h:83
PxFilterData is user-definable data which gets passed into the collision filtering shader and/or call...
Definition: PxFiltering.h:366
Definition: PxVehicleDriveTank.h:74
Definition: PxVehicleDriveTank.h:66
Abstract class for collision shapes.
Definition: PxShape.h:142
Batched queries object. This is used to perform several queries at the same time. ...
Definition: PxBatchQuery.h:57
virtual bool isKindOf(const char *superClass) const
Returns whether a given type name matches with the type of this instance.
Definition: PxBase.h:178
PxVehicleDriveTankControlModel::Enum mDriveModel
Drive model.
Definition: PxVehicleDriveTank.h:258
Two driving models are supported.
Definition: PxVehicleDriveTank.h:138
Definition: PxVehicleDriveTank.h:75
A geometry object.
Definition: PxGeometry.h:75
Definition: PxVehicleDriveTank.h:111
Enum
Definition: PxVehicleDriveTank.h:140
Definition: PxVehicleDriveTank.h:78
PxVehicleDriveSimData mDriveSimData
Simulation data that models vehicle components.
Definition: PxVehicleDriveTank.h:246
Output stream class for I/O.
Definition: PxIO.h:114
Definition: PxVehicleDriveTank.h:82
Data structure describing non-wheel configuration data of a vehicle that has engine, gears, clutch, and auto-box.
Definition: PxVehicleDrive.h:57
Definition: PxVehicleDriveTank.h:113
Data structure describing configuration data of a vehicle with up to 20 wheels.
Definition: PxVehicleWheels.h:59
PxVehicleDriveTankControlModel::Enum getDriveModel() const
Return the control model used by the tank.
Definition: PxVehicleDriveTank.h:231
A complete vehicle with instance dynamics data and configuration data for wheels and engine...
Definition: PxVehicleDrive.h:497
Definition: PxVehicleDriveTank.h:76
Definition: PxVehicleDriveTank.h:65
The ordering of the wheels of a PxVehicleDriveTank.
Definition: PxVehicleDriveTank.h:60
Definition: PxVehicleDriveTank.h:71
The control inputs for a PxVehicleDriveTank.
Definition: PxVehicleDriveTank.h:106
Definition: PxVehicleDriveTank.h:69
uint8_t PxU8
Definition: PxSimpleTypes.h:75
Definition: PxVehicleDriveTank.h:72
Definition: PxVehicleDriveTank.h:73
Definition: PxVehicleDriveTank.h:79
#define PX_COMPILE_TIME_ASSERT(exp)
Definition: PxPreprocessor.h:447
Enum
Definition: PxVehicleDriveTank.h:108
Definition: PxVehicleDriveTank.h:67
Definition: PxVehicleDriveTank.h:77
Definition: PxVehicleDriveTank.h:70
Definition: PxVehicleDriveTank.h:114
virtual const char * getConcreteTypeName() const
Returns string name of dynamic type.
Definition: PxVehicleDriveTank.h:267
virtual bool isKindOf(const char *name) const
Returns whether a given type name matches with the type of this instance.
Definition: PxVehicleDriveTank.h:268
Binary deserialization context class.
Definition: PxSerialFramework.h:174
Material class to represent a set of surface properties.
Definition: PxMaterial.h:130
PxVehicleDriveTank(PxBaseFlags baseFlags)
Definition: PxVehicleDriveTank.h:264
Abstract singleton factory class used for instancing objects in the Physics SDK.
Definition: PxPhysics.h:71
~PxVehicleDriveTank()
Definition: PxVehicleDriveTank.h:271
uint32_t PxU32
Definition: Px.h:48
Data structure with instanced dynamics data and configuration data of a tank.
Definition: PxVehicleDriveTank.h:151
void setDriveModel(const PxVehicleDriveTankControlModel::Enum driveModel)
Set the control model used by the tank.
Definition: PxVehicleDriveTank.h:223
Definition: PxVehicleDriveTank.h:112
Definition: PxVehicleDriveTank.h:81
Definition: PxVehicleDriveTank.h:80