29#ifndef PX_VEHICLE_TIREFRICTION_H
30#define PX_VEHICLE_TIREFRICTION_H
32#include "foundation/PxSimpleTypes.h"
33#include "common/PxSerialFramework.h"
52 eSURFACE_TYPE_UNKNOWN=0xffffffff
69 eMAX_NB_SURFACE_TYPES=256
84 (
const PxU32 maxNbTireTypes,
const PxU32 maxNbSurfaceTypes);
101 (
const PxU32 nbTireTypes,
const PxU32 nbSurfaceTypes,
116 void setTypePairFriction(
const PxU32 surfaceType,
const PxU32 tireType,
const PxReal value);
128 PxU32 getSurfaceType(
const PxMaterial& surfaceMaterial)
const;
139 PxReal getTypePairFriction(
const PxU32 surfaceType,
const PxU32 tireType)
const;
150 PxReal getTypePairFriction(
const PxMaterial& surfaceMaterial,
const PxU32 tireType)
const;
242 PxU32 mNbSurfaceTypes;
249 PxU32 mMaxNbSurfaceTypes;
263 PxU32 mMaxNbTireTypes;
266 ~PxVehicleDrivableSurfaceToTireFrictionPairs(){}
Collection class for serialization.
Definition PxCollection.h:104
Material class to represent a set of surface properties.
Definition PxMaterial.h:149
Output stream class for I/O.
Definition PxIO.h:114
Friction for each combination of driving surface type and tire type.
Definition PxVehicleTireFriction.h:62
PX_FORCE_INLINE PxU32 getMaxNbSurfaceTypes() const
Return the maximum number of surface types.
Definition PxVehicleTireFriction.h:157
PX_FORCE_INLINE PxU32 getMaxNbTireTypes() const
Return the maximum number of tire types.
Definition PxVehicleTireFriction.h:164
Definition PxVehicleTireFriction.cpp:155
#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
PxU64 PxSerialObjectId
ID type for PxBase objects in a PxCollection.
Definition PxSerialFramework.h:61
Driving surface type. Each PxMaterial is associated with a corresponding PxVehicleDrivableSurfaceType...
Definition PxVehicleTireFriction.h:49