Defined in include/vehicle2/physxRoadGeometry/PxVehiclePhysXRoadGeometryParams.h

struct PxVehiclePhysXMaterialFriction

A mapping between PxMaterial and a friction value to be used by the tire model.

Public Functions

inline bool isValid() const

Public Members

const PxMaterial *material

A PxMaterial instance that is to be mapped to a friction value.

PxReal friction

A friction value that is to be mapped to a PxMaterial instance.

Range: [0, inf)


friction must have value greater than or equal to zero.