◆ getDataForPhysXRoadGeometrySceneQueryComponent()
Provide vehicle data items for this component.
- Parameters
-
| [out] | axleDescription | identifies the wheels on each axle. |
| [out] | roadGeomParams | The road geometry parameters of the vehicle. |
| [out] | steerResponseStates | The steer response state of the wheels. |
| [out] | rigidBodyState | The pose, velocity etc. of the vehicle rigid body. |
| [out] | wheelParams | The wheel parameters for the wheels. |
| [out] | suspensionParams | The suspension parameters for the wheels. |
| [out] | materialFrictionParams | The tire friction tables for the wheels. |
| [out] | roadGeometryStates | The detected ground surface plane, friction value etc. for the wheels. |
| [out] | physxRoadGeometryStates | Optional 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()
Update function for a vehicle component.
- Parameters
-
| [in] | dt | The timestep size to use for the update step. |
| [in] | context | Vehicle 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: