30 #ifndef PX_VEHICLE_DRIVE_TANK_H 31 #define PX_VEHICLE_DRIVE_TANK_H 109 eANALOG_INPUT_ACCEL=0,
114 eMAX_NB_DRIVETANK_ANALOG_INPUTS
160 friend class PxVehicleUpdate;
198 const PxU32 nbDrivenWheels);
214 const PxU32 nbDrivenWheels);
224 mDriveModel=driveModel;
239 void setToRestState();
251 bool isValid()
const;
280 #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:67
Enum
Definition: PxVehicleDriveTank.h:61
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:73
Definition: PxVehicleDriveTank.h:65
Abstract class for collision shapes.
Definition: PxShape.h:142
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:257
Two driving models are supported.
Definition: PxVehicleDriveTank.h:137
Definition: PxVehicleDriveTank.h:74
A geometry object.
Definition: PxGeometry.h:75
Definition: PxVehicleDriveTank.h:110
Enum
Definition: PxVehicleDriveTank.h:139
Definition: PxVehicleDriveTank.h:77
PxVehicleDriveSimData mDriveSimData
Simulation data that models vehicle components.
Definition: PxVehicleDriveTank.h:245
Output stream class for I/O.
Definition: PxIO.h:114
Definition: PxVehicleDriveTank.h:81
Data structure describing non-wheel configuration data of a vehicle that has engine, gears, clutch, and auto-box.
Definition: PxVehicleDrive.h:56
Definition: PxVehicleDriveTank.h:112
Data structure describing configuration data of a vehicle with up to 20 wheels.
Definition: PxVehicleWheels.h:123
PxVehicleDriveTankControlModel::Enum getDriveModel() const
Return the control model used by the tank.
Definition: PxVehicleDriveTank.h:230
A complete vehicle with instance dynamics data and configuration data for wheels and engine...
Definition: PxVehicleDrive.h:496
Definition: PxVehicleDriveTank.h:75
Definition: PxVehicleDriveTank.h:64
The ordering of the wheels of a PxVehicleDriveTank.
Definition: PxVehicleDriveTank.h:59
Definition: PxVehicleDriveTank.h:70
The control inputs for a PxVehicleDriveTank.
Definition: PxVehicleDriveTank.h:105
Definition: PxVehicleDriveTank.h:68
uint8_t PxU8
Definition: PxSimpleTypes.h:75
Definition: PxVehicleDriveTank.h:71
Definition: PxVehicleDriveTank.h:72
Definition: PxVehicleDriveTank.h:78
#define PX_COMPILE_TIME_ASSERT(exp)
Definition: PxPreprocessor.h:434
Enum
Definition: PxVehicleDriveTank.h:107
Definition: PxVehicleDriveTank.h:66
Definition: PxVehicleDriveTank.h:76
Definition: PxVehicleDriveTank.h:69
Definition: PxVehicleDriveTank.h:113
virtual const char * getConcreteTypeName() const
Returns string name of dynamic type.
Definition: PxVehicleDriveTank.h:266
virtual bool isKindOf(const char *name) const
Returns whether a given type name matches with the type of this instance.
Definition: PxVehicleDriveTank.h:267
Binary deserialization context class.
Definition: PxSerialFramework.h:174
Material class to represent a set of surface properties.
Definition: PxMaterial.h:143
PxVehicleDriveTank(PxBaseFlags baseFlags)
Definition: PxVehicleDriveTank.h:263
Abstract singleton factory class used for instancing objects in the Physics SDK.
Definition: PxPhysics.h:71
~PxVehicleDriveTank()
Definition: PxVehicleDriveTank.h:270
uint32_t PxU32
Definition: Px.h:48
Data structure with instanced dynamics data and configuration data of a tank.
Definition: PxVehicleDriveTank.h:150
void setDriveModel(const PxVehicleDriveTankControlModel::Enum driveModel)
Set the control model used by the tank.
Definition: PxVehicleDriveTank.h:222
Definition: PxVehicleDriveTank.h:111
Definition: PxVehicleDriveTank.h:80
Definition: PxVehicleDriveTank.h:79