pub unsafe extern "C" fn PxGeometryQuery_pointDistance(
    point: *const PxVec3,
    geom: *const PxGeometry,
    pose: *const PxTransform,
    closestPoint: *mut PxVec3,
    closestIndex: *mut u32,
    queryFlags: PxGeometryQueryFlags
) -> f32
Expand description

Computes distance between a point and a geometry object.

Currently supported geometry objects: box, sphere, capsule, convex, mesh.

For meshes, only the BVH34 midphase data-structure is supported.

Square distance between the point and the geom object, or 0.0 if the point is inside the object, or -1.0 if an error occured (geometry type is not supported, or invalid pose)