PxVehiclePvdObjectCreate

Defined in include/vehicle2/pvd/PxVehiclePvdHelpers.h

PxVehiclePvdObjectHandles *PxVehiclePvdObjectCreate(const PxU32 nbWheels, const PxU32 nbAntirolls, const PxU32 maxNbPhysxMaterialFrictions, const PxU64 contextHandle, PxAllocatorCallback &allocator)

Create omnipvd objects that will be used to reflect an individual veicle in omnipvd.

See also

PxVehicleAxleDescription

See also

PxVehicleAntiRollForceParams

See also

PxVehiclePhysXMaterialFrictionParams

See also

PxVehiclePVDComponent

See also

PxVehiclePvdAttributesCreate

Note

PxVehiclePvdObjectCreate() must be called after PxVehiclePvdAttributesCreate().

Parameters
  • nbWheels[in] must be greater than or equal to the number of wheels on the vehicle.

  • nbAntirolls[in] must be greater than or equal to the number of antiroll bars on the vehicle.

  • maxNbPhysxMaterialFrictions[in] must be greater than or equal to the number of PxPhysXMaterialFriction instances associated with any wheel of the vehicle.

  • contextHandle[in] is typically used to associated vehicles with a particular scene or group.

  • allocator[in] is used to allocate the memory used to store handles to the created omnipvd objects.