Skip to main content

b3ShapeCast

Function b3ShapeCast 

Source
pub unsafe extern "C" fn b3ShapeCast(
    input: *const b3ShapeCastPairInput,
) -> b3CastOutput
Expand description

Perform a linear shape cast of shape B moving and shape A fixed. Determines the hit point, normal, and translation fraction. The query runs in frame A, so the hit point and normal are returned in frame A. Initially touching shapes are a miss.