PxVehiclePvdSuspensionStateCalculationParamsWrite

Defined in include/vehicle2/pvd/PxVehiclePvdFunctions.h

void PxVehiclePvdSuspensionStateCalculationParamsWrite(const PxVehicleSuspensionStateCalculationParams *suspStateCalcParams, const PxVehiclePvdAttributeHandles &attributeHandles, const PxVehiclePvdObjectHandles &objectHandles, OmniPvdWriter &omniWriter)

Write the parameters and state of the rigid body of a vehicle instance to omnipvd.

See also

PxVehiclePvdAttributesCreate

See also

PxVehiclePvdObjectCreate

See also

PxVehiclePvdSuspensionStateCalculationParamsRegister

Note

If suspStateCalcParams is NULL but a non-NULL value was used in void PxVehiclePvdSuspensionStateCalculationParamsRegister(), the suspension state calculation parameters will not be updated in omnipvd.

Note

omniWriter must be the same instance used in PxVehiclePvdSuspensionStateCalculationParamsRegister().

Parameters
  • suspStateCalcParams[in] describes parameters used to calculate suspension state.

  • 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.