No longer collide gun rays with areas
This commit is contained in:
parent
a34884fb27
commit
71c5ca7947
@ -39,7 +39,6 @@ pub fn cast_ray(
|
||||
ray.set_hit_back_faces(false);
|
||||
ray.set_hit_from_inside(false);
|
||||
ray.set_collide_with_bodies(true);
|
||||
ray.set_collide_with_areas(true);
|
||||
ray.set_exclude(&exclude);
|
||||
if let Some(world) = world
|
||||
&& let Some(mut space) = world.get_direct_space_state()
|
||||
|
||||
Loading…
Reference in New Issue
Block a user