Function bevy_mod_raycast::raycast::ray_intersection_over_mesh
source · pub fn ray_intersection_over_mesh(
mesh: &Mesh,
mesh_transform: &Mat4,
ray: Ray3d,
backface_culling: Backfaces
) -> Option<IntersectionData>
Expand description
Cast a ray on a mesh, and returns the intersection