PxVehiclePvdPhysXRigidActorRegister

Defined in include/vehicle2/pvd/PxVehiclePvdFunctions.h

void PxVehiclePvdPhysXRigidActorRegister(const PxVehiclePhysXActor *physxActor, const PxVehiclePvdAttributeHandles &attributeHandles, PxVehiclePvdObjectHandles *objectHandles, OmniPvdWriter *omniWriter)

Register the PxRigidActor instance that represents the vehicle’s rigid body in a PhysX scene.

Note

If physxActor is NULL, the corresponding data will not be reflected in omnipvd.

Note

objectHandles must be non-NULL.

Note

omniWriter must be non-NULL.

Parameters
  • physxActor[in] describes the PxRigidActor instance that is used to represent the vehicle’s rigid body in PhysX.

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