Reset collider on ray node

This commit is contained in:
AndreaCatania 2018-01-12 12:31:02 +01:00
parent baef1e71c7
commit 207af6c4f9

View file

@ -217,6 +217,8 @@ void RayCast::_update_raycast_state() {
against_shape = rr.shape; against_shape = rr.shape;
} else { } else {
collided = false; collided = false;
against = 0;
against_shape = 0;
} }
} }