b2World_CastShape

Function b2World_CastShape 

Source
pub unsafe extern "C" fn b2World_CastShape(
    worldId: b2WorldId,
    proxy: *const b2ShapeProxy,
    translation: b2Vec2,
    filter: b2QueryFilter,
    fcn: b2CastResultFcn,
    context: *mut c_void,
) -> b2TreeStats
Expand description

Cast a shape through the world. Similar to a cast ray except that a shape is cast instead of a point. @see b2World_CastRay