PxVehiclePvdRigidBodyWrite

Defined in include/vehicle2/pvd/PxVehiclePvdFunctions.h

void PxVehiclePvdRigidBodyWrite(const PxVehicleRigidBodyParams *rbodyParams, const PxVehicleRigidBodyState *rbodyState, 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

PxVehiclePvdRigidBodyRegister

Note

If rbodyParams is NULL but a non-NULL value was used in PxVehiclePvdRigidBodyRegister(), the rigid body parameters will not be updated in omnipvd.

Note

If rbodyState is NULL but a non-NULL value was used in PxVehiclePvdRigidBodyRegister(), the rigid body state will not be updated in omnipvd.

Note

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

Parameters
  • rbodyParams[in] describes the parameters of the vehicle’s rigid body.

  • rbodyState[in] describes the state of the vehicle’s rigid body.

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