pub unsafe extern "C" fn PxSceneQuerySystemBase_raycast(
    self_: *const PxSceneQuerySystemBase,
    origin: *const PxVec3,
    unitDir: *const PxVec3,
    distance: f32,
    hitCall: *mut PxRaycastCallback,
    hitFlags: PxHitFlags,
    filterData: *const PxQueryFilterData,
    filterCall: *mut PxQueryFilterCallback,
    cache: *const PxQueryCache,
    queryFlags: PxGeometryQueryFlags
) -> bool
Expand description

Performs a raycast against objects in the scene, returns results in a PxRaycastBuffer object or via a custom user callback implementation inheriting from PxRaycastCallback.

Touching hits are not ordered.

Shooting a ray from within an object leads to different results depending on the shape type. Please check the details in user guide article SceneQuery. User can ignore such objects by employing one of the provided filter mechanisms.

True if any touching or blocking hits were found or any hit was found in case PxQueryFlag::eANY_HIT was specified.