Skip to main content

b3RayCastSphere

Function b3RayCastSphere 

Source
pub unsafe extern "C" fn b3RayCastSphere(
    shape: *const b3Sphere,
    input: *const b3RayCastInput,
) -> b3CastOutput
Expand description

Ray cast versus sphere in local space. A zero length ray is a point query. Initial overlap reports a hit at the ray origin with zero fraction and zero normal.