PxVehiclePvdPhysXWheelAttachmentWrite
Defined in include/vehicle2/pvd/PxVehiclePvdFunctions.h
-
void PxVehiclePvdPhysXWheelAttachmentWrite(const PxVehicleAxleDescription &axleDesc, const PxVehicleArrayData<const PxVehiclePhysXSuspensionLimitConstraintParams> &physxSuspLimitConstraintParams, const PxVehicleArrayData<const PxVehiclePhysXMaterialFrictionParams> &physxMaterialFrictionParams, const PxVehiclePhysXActor *physxActor, const PxVehiclePhysXRoadGeometryQueryParams *physxRoadGeometryQueryParams, const PxVehicleArrayData<const PxVehiclePhysXRoadGeometryQueryState> &physxRoadGeomState, const PxVehicleArrayData<const PxVehiclePhysXConstraintState> &physxConstraintStates, const PxVehiclePvdAttributeHandles &attributeHandles, const PxVehiclePvdObjectHandles &objectHandles, OmniPvdWriter *omniWriter)
Write to omnipvd the per wheel attachment data that involves the vehicle’s integration with a PhysX scene.
See also
See also
Note
If any array is empty but the corresponding array in PxVehiclePvdPhysXWheelAttachmentRegister() was not empty, the corresponding data will not be updated in omnipvd.
Note
If physxActor is NULL but the corresponding argument in PxVehiclePvdPhysXWheelAttachmentRegister was not NULL, the corresponding data will not be reflected in omnipvd.
Note
If physxRoadGeometryQueryParams is NULL but the corresponding argument in PxVehiclePvdPhysXWheelAttachmentRegister was not NULL, the corresponding data will not be reflected in omnipvd.
Note
Each array must either be empty or contain an entry for each wheel present in axleDesc.
Note
omniWriter must be non-NULL.
- Parameters
axleDesc – [in] is a description of the wheels and axles of a vehicle.
physxSuspLimitConstraintParams – [in] describes the method used by PhysX to enforce suspension travel limits.
physxMaterialFrictionParams – [in] describes the friction response of each wheel to a set of PxMaterial instances.
physxActor – [in] describes the PxShape instances that are used to represent the vehicle’s wheel shapes in PhysX.
physxRoadGeometryQueryParams – [in] describes the physx scene query method used to place each wheel on the ground.
physxRoadGeomState – [in] is an array of per wheel physx scene query results.
physxConstraintStates – [in] is an array of constraints states used by PhysX to enforce sticky tire and suspension travel limit constraints.
attributeHandles – [in] contains a general description of vehicle parameters and states that will be reflected in omnipvd.
objectHandles – [in] contains unique handles for the parameters and states of each vehicle instance.
omniWriter – [in] is an OmniPvdWriter instance used to communicate state and parameter data to omnipvd.