RavEngine
Loading...
Searching...
No Matches
physx::vehicle2::PxVehiclePhysXRoadGeometrySceneQueryComponent Class Referenceabstract
Inheritance diagram for physx::vehicle2::PxVehiclePhysXRoadGeometrySceneQueryComponent:
[legend]
Collaboration diagram for physx::vehicle2::PxVehiclePhysXRoadGeometrySceneQueryComponent:
[legend]

Public Member Functions

virtual void getDataForPhysXRoadGeometrySceneQueryComponent (const PxVehicleAxleDescription *&axleDescription, const PxVehiclePhysXRoadGeometryQueryParams *&roadGeomParams, PxVehicleArrayData< const PxReal > &steerResponseStates, const PxVehicleRigidBodyState *&rigidBodyState, PxVehicleArrayData< const PxVehicleWheelParams > &wheelParams, PxVehicleArrayData< const PxVehicleSuspensionParams > &suspensionParams, PxVehicleArrayData< const PxVehiclePhysXMaterialFrictionParams > &materialFrictionParams, PxVehicleArrayData< PxVehicleRoadGeometryState > &roadGeometryStates, PxVehicleArrayData< PxVehiclePhysXRoadGeometryQueryState > &physxRoadGeometryStates)=0
 Provide vehicle data items for this component.
 
virtual bool update (const PxReal dt, const PxVehicleSimulationContext &context)
 Update function for a vehicle component.
 

Member Function Documentation

◆ getDataForPhysXRoadGeometrySceneQueryComponent()

virtual void physx::vehicle2::PxVehiclePhysXRoadGeometrySceneQueryComponent::getDataForPhysXRoadGeometrySceneQueryComponent ( const PxVehicleAxleDescription *&  axleDescription,
const PxVehiclePhysXRoadGeometryQueryParams *&  roadGeomParams,
PxVehicleArrayData< const PxReal > &  steerResponseStates,
const PxVehicleRigidBodyState *&  rigidBodyState,
PxVehicleArrayData< const PxVehicleWheelParams > &  wheelParams,
PxVehicleArrayData< const PxVehicleSuspensionParams > &  suspensionParams,
PxVehicleArrayData< const PxVehiclePhysXMaterialFrictionParams > &  materialFrictionParams,
PxVehicleArrayData< PxVehicleRoadGeometryState > &  roadGeometryStates,
PxVehicleArrayData< PxVehiclePhysXRoadGeometryQueryState > &  physxRoadGeometryStates 
)
pure virtual

Provide vehicle data items for this component.

Parameters
[out]axleDescriptionidentifies the wheels on each axle.
[out]roadGeomParamsThe road geometry parameters of the vehicle.
[out]steerResponseStatesThe steer response state of the wheels.
[out]rigidBodyStateThe pose, velocity etc. of the vehicle rigid body.
[out]wheelParamsThe wheel parameters for the wheels.
[out]suspensionParamsThe suspension parameters for the wheels.
[out]materialFrictionParamsThe tire friction tables for the wheels.
[out]roadGeometryStatesThe detected ground surface plane, friction value etc. for the wheels.
[out]physxRoadGeometryStatesOptional buffer to store additional information about the query (like actor/shape that got hit etc.). Set to empty if not desired.

Implemented in snippetvehicle2::PhysXActorVehicle.

◆ update()

virtual bool physx::vehicle2::PxVehiclePhysXRoadGeometrySceneQueryComponent::update ( const PxReal  dt,
const PxVehicleSimulationContext &  context 
)
inlinevirtual

Update function for a vehicle component.

Parameters
[in]dtThe timestep size to use for the update step.
[in]contextVehicle simulation context holding global data or data that usually applies to a large group of vehicles.
Returns
True if subsequent components in a sequence should get updated, false if the sequence should be aborted.
See also
PxVehicleComponentSequence

Implements physx::vehicle2::PxVehicleComponent.


The documentation for this class was generated from the following file: