35#include "foundation/PxFoundation.h"
37#include "PxQueryFiltering.h"
105 PX_CHECK_AND_RETURN_VAL(
roadGeometryQueryType < PxVehiclePhysXRoadGeometryQueryType::eMAX_NB,
"PxVehiclePhysXRoadGeometryQueryParams.roadGeometryQueryType has illegal value",
false);
133 PX_CHECK_AND_RETURN_VAL(
friction >= 0.0f,
"PxVehiclePhysXMaterialFriction.friction must be greater than or equal to zero",
false);
154 PX_CHECK_AND_RETURN_VAL(
defaultFriction >= 0.0f,
"PxVehiclePhysXMaterialFrictionParams.defaultFriction must be greater than or equal to zero",
false);
Material class to represent a set of surface properties.
Definition PxMaterial.h:149
Scene query filtering callbacks.
Definition PxQueryFiltering.h:175
#define PX_FORCE_INLINE
Definition PxPreprocessor.h:335
Sorts an array of objects in ascending order, assuming that the predicate implements the < operator:
Definition PxBoxController.h:39
Scene query filtering data.
Definition PxQueryFiltering.h:138
Definition PxVehicleParams.h:174
A mappping between PxMaterial instance and friction for multiple PxMaterial intances.
Definition PxVehiclePhysXRoadGeometryParams.h:142
PxU32 nbMaterialFrictions
The number of mappings between PxMaterial and friction.
Definition PxVehiclePhysXRoadGeometryParams.h:144
PxReal defaultFriction
A default friction value to be used in the event that the PxMaterial under the tire is not found in t...
Definition PxVehiclePhysXRoadGeometryParams.h:145
PxVehiclePhysXMaterialFriction * materialFrictions
An array of mappings between PxMaterial and friction.
Definition PxVehiclePhysXRoadGeometryParams.h:143
Definition PxVehiclePhysXRoadGeometryParams.h:115
const PxMaterial * material
A PxMaterial instance that is to be mapped to a friction value.
Definition PxVehiclePhysXRoadGeometryParams.h:119
PxReal friction
A friction value that is to be mapped to a PxMaterial instance.
Definition PxVehiclePhysXRoadGeometryParams.h:129
A description of type of PhysX scene query and the filter data to apply to the query.
Definition PxVehiclePhysXRoadGeometryParams.h:70
PxQueryFilterCallback * filterCallback
A filter callback to be used by the physx scene query.
Definition PxVehiclePhysXRoadGeometryParams.h:91
PxQueryFilterData filterData
The filter data to use for the physx scene query.
Definition PxVehiclePhysXRoadGeometryParams.h:83
PxVehiclePhysXRoadGeometryQueryType::Enum roadGeometryQueryType
A description of the type of physx scene query to employ.
Definition PxVehiclePhysXRoadGeometryParams.h:76
PhysX scene queries may be raycasts or sweeps.
Definition PxVehiclePhysXRoadGeometryParams.h:56
Enum
Definition PxVehiclePhysXRoadGeometryParams.h:58
@ eSWEEP
The road geometry below the wheel is analyzed using a sweep query.
Definition PxVehiclePhysXRoadGeometryParams.h:61
@ eRAYCAST
The road geometry below the wheel is analyzed using a raycast query.
Definition PxVehiclePhysXRoadGeometryParams.h:60
@ eNONE
Info about the road geometry below the wheel is provided by the user.
Definition PxVehiclePhysXRoadGeometryParams.h:59
Definition PxVehicleParams.h:224