pub unsafe extern "C" fn PxBatchQueryExt_overlap_mut(
    self_: *mut PxBatchQueryExt,
    geometry: *const PxGeometry,
    pose: *const PxTransform,
    maxNbTouches: u16,
    filterData: *const PxQueryFilterData,
    cache: *const PxQueryCache
) -> *mut PxOverlapBuffer
Expand description

Performs an overlap test of a given geometry against objects in the scene.

Filtering: returning eBLOCK from user filter for overlap queries will cause a warning (see PxQueryHitType).

eBLOCK should not be returned from user filters for overlap(). Doing so will result in undefined behavior, and a warning will be issued.

If the PxQueryFlag::eNO_BLOCK flag is set, the eBLOCK will instead be automatically converted to an eTOUCH and the warning suppressed.

This query call writes to a list associated with the query object and is NOT thread safe (for performance reasons there is no lock and overlapping writes from different threads may result in undefined behavior).

Returns a PxOverlapBuffer pointer that will store the result of the query after execute() is completed. This will point either to an element of the buffer allocated on construction or to a user buffer passed to the constructor.