pub unsafe extern "C" fn PxControllerManager_setTessellation_mut(
    self_: *mut PxControllerManager,
    flag: bool,
    maxEdgeLength: f32
)
Expand description

Enables or disables runtime tessellation.

Large triangles can create accuracy issues in the sweep code, which in turn can lead to characters not sliding smoothly against geometries, or even penetrating them. This feature allows one to reduce those issues by tessellating large triangles at runtime, before performing sweeps against them. The amount of tessellation is controlled by the ‘maxEdgeLength’ parameter. Any triangle with at least one edge length greater than the maxEdgeLength will get recursively tessellated, until resulting triangles are small enough.

This features only applies to triangle meshes, convex meshes, heightfields and boxes.