Skip to main content

shape_ray_cast

Function shape_ray_cast 

Source
pub fn shape_ray_cast(
    world: &mut World,
    shape_id: ShapeId,
    origin: Pos,
    translation: Vec2,
) -> WorldCastOutput
Expand description

Ray cast a shape directly. (b2Shape_RayCast)