PxVehicleUnitCylinderSweepMeshCreate

Defined in include/vehicle2/physxRoadGeometry/PxVehiclePhysXRoadGeometryHelpers.h

PxConvexMesh *PxVehicleUnitCylinderSweepMeshCreate(const PxVehicleFrame &vehicleFrame, PxPhysics &physics, const PxCookingParams &params)

Create a cylindrical mesh with unit radius and half-width.

Parameters
  • vehicleFrame[in] is a description of the lateral and longitudinal axes.

  • physics[in] is a PxPhysics instance.

  • params[in] is a PxCookingParams instance

Returns

Return a PxConvexMesh instance that represents a convex hull with unit radius and half-width.