PxCustomGeometryExt

Defined in include/extensions/PxCustomGeometryExt.h

class PxCustomGeometryExt

Pre-made custom geometry callbacks implementations.

struct ConeCallbacks : public BaseConvexCallbacks

Cone geometry callbacks.

Public Functions

ConeCallbacks(float height, float radius, int axis = 0, float margin = 0)

Construct cone geometry callbacks object.

Parameters
  • height[in] The cylinder height.

  • radius[in] The cylinder radius.

  • axis[in] The cylinder axis (0 - X, 1 - Y, 2 - Z).

  • margin[in] The cylinder margin.

Public Members

float height

Cone height.

float radius

Cone radius.

int axis

Cone axis.

struct CylinderCallbacks : public BaseConvexCallbacks

Cylinder geometry callbacks.

Public Functions

CylinderCallbacks(float height, float radius, int axis = 0, float margin = 0)

Construct cylinder geometry callbacks object.

Parameters
  • height[in] The cylinder height.

  • radius[in] The cylinder radius.

  • axis[in] The cylinder axis (0 - X, 1 - Y, 2 - Z).

  • margin[in] The cylinder margin.

Public Members

float height

Cylinder height.

float radius

Cylinder radius.

int axis

Cylinder axis.