Skip to main content

b3DynamicTree_BoxCast

Function b3DynamicTree_BoxCast 

Source
pub unsafe extern "C" fn b3DynamicTree_BoxCast(
    tree: *const b3DynamicTree,
    input: *const b3BoxCastInput,
    maskBits: u64,
    requireAllBits: bool,
    callback: b3TreeBoxCastCallbackFcn,
    context: *mut c_void,
) -> b3TreeStats
Expand description

Sweep an AABB through the tree. The box is in the tree’s world float frame and the callback re-differences each shape at full precision against the query origin. Used by the large world spatial queries so the tree traversal stays float while the narrow phase stays precise.