b2ShapeCast

Function b2ShapeCast 

Source
pub unsafe extern "C" fn b2ShapeCast(
    input: *const b2ShapeCastPairInput,
) -> b2CastOutput
Expand description

Perform a linear shape cast of shape B moving and shape A fixed. Determines the hit point, normal, and translation fraction. Initially touching shapes are treated as a miss.