Skip to main content

raycast_collider

Function raycast_collider 

pub fn raycast_collider(
    origin_world: [f32; 3],
    dir_world: [f32; 3],
    max_toi: f32,
    shape: &ColliderShape3D,
    motor: &Motor,
) -> Option<(f32, [f32; 3])>
Expand description

Raycast against a single ColliderShape3D transformed by motor.