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.
-
ConeCallbacks(float height, float radius, int axis = 0, float margin = 0)
-
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.
-
CylinderCallbacks(float height, float radius, int axis = 0, float margin = 0)
-
struct ConeCallbacks : public BaseConvexCallbacks