Function cast_sphere
pub fn cast_sphere<const MAX_LEAVES: usize>(
bvh: &BroadphaseBvh<MAX_LEAVES>,
shapes: &[ColliderShape3D],
motors: &[Motor],
center: [f32; 3],
radius: f32,
dir: [f32; 3],
max_dist: f32,
ignore_collider: Option<u32>,
) -> Option<ShapeCastHit3D>Expand description
Casts a sphere of radius along dir up to max_dist by inflating target primitives by radius.