Function physx_sys::PxMeshQuery_findOverlapTriangleMesh
source · pub unsafe extern "C" fn PxMeshQuery_findOverlapTriangleMesh(
geom: *const PxGeometry,
geomPose: *const PxTransform,
meshGeom: *const PxTriangleMeshGeometry,
meshPose: *const PxTransform,
results: *mut u32,
maxResults: u32,
startIndex: u32,
overflow: *mut bool,
queryFlags: PxGeometryQueryFlags
) -> u32
Expand description
Find the mesh triangles which touch the specified geometry object.
For mesh-vs-mesh overlap tests, please use the specialized function below.
Returned triangle indices can be used with getTriangle
to retrieve the triangle properties.
Number of overlaps found, i.e. number of elements written to the results buffer