Structure containing data describing the non-persistent state of each suspension/wheel/tire unit. This structure is filled out in PxVehicleUpdates and PxVehicleUpdateSingleVehicleAndStoreTelemetryData. More...
#include <PxVehicleUpdate.h>
Public Member Functions | |
PxWheelQueryResult () | |
Public Attributes | |
PxVec3 | suspLineStart |
Start point of suspension line raycast used in raycast completed immediately before PxVehicleUpdates. More... | |
PxVec3 | suspLineDir |
Directions of suspension line raycast used in raycast completed immediately before PxVehicleUpdates. More... | |
PxReal | suspLineLength |
Lengths of suspension line raycast used in raycast completed immediately before PxVehicleUpdates. More... | |
bool | isInAir |
If suspension travel limits forbid the wheel from touching the drivable surface then isInAir is true. More... | |
PxActor * | tireContactActor |
PxActor instance of the driving surface under the corresponding vehicle wheel. More... | |
PxShape * | tireContactShape |
PxShape instance of the driving surface under the corresponding vehicle wheel. More... | |
const PxMaterial * | tireSurfaceMaterial |
PxMaterial instance of the driving surface under the corresponding vehicle wheel. More... | |
PxU32 | tireSurfaceType |
Surface type integer that corresponds to the mapping between tireSurfaceMaterial and integer as described in PxVehicleDrivableSurfaceToTireFrictionPairs. More... | |
PxVec3 | tireContactPoint |
Point on the drivable surface hit by the most recent suspension raycast. More... | |
PxVec3 | tireContactNormal |
Normal on the drivable surface at the hit point of the most recent suspension raycast. More... | |
PxReal | tireFriction |
Friction experienced by the tire for the combination of tire type and surface type after accounting for the friction vs slip graph. More... | |
PxReal | suspJounce |
Compression of the suspension spring. More... | |
PxReal | suspSpringForce |
Magnitude of force applied by the suspension spring along the direction of suspension travel. More... | |
PxVec3 | tireLongitudinalDir |
Forward direction of the wheel/tire accounting for steer/toe/camber angle projected on to the contact plane of the drivable surface. More... | |
PxVec3 | tireLateralDir |
Lateral direction of the wheel/tire accounting for steer/toe/camber angle projected on to the contact plan of the drivable surface. More... | |
PxReal | longitudinalSlip |
Longitudinal slip of the tire. More... | |
PxReal | lateralSlip |
Lateral slip of the tire. More... | |
PxReal | steerAngle |
Steer angle of the wheel about the "up" vector accounting for input steer and toe and, if applicable, Ackermann steer correction. More... | |
PxTransform | localPose |
Local pose of the wheel. More... | |
Structure containing data describing the non-persistent state of each suspension/wheel/tire unit. This structure is filled out in PxVehicleUpdates and PxVehicleUpdateSingleVehicleAndStoreTelemetryData.
|
inline |
References PxVehicleDrivableSurfaceType::eSURFACE_TYPE_UNKNOWN, PxIdentity, and PxMemZero().
bool PxWheelQueryResult::isInAir |
If suspension travel limits forbid the wheel from touching the drivable surface then isInAir is true.
PxReal PxWheelQueryResult::lateralSlip |
Lateral slip of the tire.
PxTransform PxWheelQueryResult::localPose |
Local pose of the wheel.
PxReal PxWheelQueryResult::longitudinalSlip |
Longitudinal slip of the tire.
PxReal PxWheelQueryResult::steerAngle |
Steer angle of the wheel about the "up" vector accounting for input steer and toe and, if applicable, Ackermann steer correction.
PxReal PxWheelQueryResult::suspJounce |
Compression of the suspension spring.
PxVec3 PxWheelQueryResult::suspLineDir |
Directions of suspension line raycast used in raycast completed immediately before PxVehicleUpdates.
PxReal PxWheelQueryResult::suspLineLength |
Lengths of suspension line raycast used in raycast completed immediately before PxVehicleUpdates.
PxVec3 PxWheelQueryResult::suspLineStart |
Start point of suspension line raycast used in raycast completed immediately before PxVehicleUpdates.
PxReal PxWheelQueryResult::suspSpringForce |
Magnitude of force applied by the suspension spring along the direction of suspension travel.
PxActor* PxWheelQueryResult::tireContactActor |
PxActor instance of the driving surface under the corresponding vehicle wheel.
PxVec3 PxWheelQueryResult::tireContactNormal |
Normal on the drivable surface at the hit point of the most recent suspension raycast.
PxVec3 PxWheelQueryResult::tireContactPoint |
Point on the drivable surface hit by the most recent suspension raycast.
PxShape* PxWheelQueryResult::tireContactShape |
PxShape instance of the driving surface under the corresponding vehicle wheel.
PxReal PxWheelQueryResult::tireFriction |
Friction experienced by the tire for the combination of tire type and surface type after accounting for the friction vs slip graph.
PxVec3 PxWheelQueryResult::tireLateralDir |
Lateral direction of the wheel/tire accounting for steer/toe/camber angle projected on to the contact plan of the drivable surface.
PxVec3 PxWheelQueryResult::tireLongitudinalDir |
Forward direction of the wheel/tire accounting for steer/toe/camber angle projected on to the contact plane of the drivable surface.
const PxMaterial* PxWheelQueryResult::tireSurfaceMaterial |
PxMaterial instance of the driving surface under the corresponding vehicle wheel.
PxU32 PxWheelQueryResult::tireSurfaceType |
Surface type integer that corresponds to the mapping between tireSurfaceMaterial and integer as described in PxVehicleDrivableSurfaceToTireFrictionPairs.