Make ball move when shot again

This commit is contained in:
Sofia 2026-07-29 22:39:39 +03:00
parent 4b00adfc77
commit a6c346ddb9

View File

@ -35,7 +35,7 @@ pub fn cast_ray(
) -> Option<RaycastResult> {
let ray = PhysicsRayQueryParameters3D::create(from, to);
if let Some(mut ray) = ray {
ray.set_collision_mask(0b111);
ray.set_collision_mask(0b1111);
ray.set_hit_back_faces(false);
ray.set_hit_from_inside(false);
ray.set_collide_with_bodies(true);