pub unsafe extern "C" fn PxBatchQueryExt_sweep_mut(
    self_: *mut PxBatchQueryExt,
    geometry: *const PxGeometry,
    pose: *const PxTransform,
    unitDir: *const PxVec3,
    distance: f32,
    maxNbTouches: u16,
    hitFlags: PxHitFlags,
    filterData: *const PxQueryFilterData,
    cache: *const PxQueryCache,
    inflation: f32
) -> *mut PxSweepBuffer
Expand description

Performs a sweep test against objects in the scene.

Touching hits are not ordered.

If a shape from the scene is already overlapping with the query shape in its starting position, the hit is returned unless eASSUME_NO_INITIAL_OVERLAP was specified.

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 PxSweepBuffer 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.