Skip to main content

ray_cast_shape

Function ray_cast_shape 

Source
pub fn ray_cast_shape(
    shape: &Shape,
    transform: Transform,
    input: &RayCastInput,
) -> CastOutput
Expand description

Ray cast a shape in world (or relative) space. Transforms the ray into local space, dispatches, then transforms the hit back. (b3RayCastShape)