PxVehiclePvdObjectCreate
Defined in include/vehicle2/pvd/PxVehiclePvdHelpers.h
-
PxVehiclePvdObjectHandles *PxVehiclePvdObjectCreate(const PxU32 nbWheels, const PxU32 nbAntirolls, const PxU32 maxNbPhysxMaterialFrictions, const PxU64 contextHandle, const PxVehiclePvdAttributeHandles &attributeHandles, OmniPvdWriter *omniWriter, PxAllocatorCallback &allocator)
Create omnipvd objects that will be used to reflect an individual veicle in omnipvd.
See also
See also
See also
See also
See also
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.
attributeHandles – [in] is the PxVehiclePvdAttributeHandles instance returned by PxVehiclePvdAttributesCreate()
omniWriter – [in] is used to register the attribute handles with omnipvd.
allocator – [in] is used to allocate the memory used to store handles to the created omnipvd objects.