mirror of
https://github.com/godotengine/godot.git
synced 2025-02-06 19:01:48 +00:00
Reset collider on ray node
This commit is contained in:
parent
baef1e71c7
commit
207af6c4f9
@ -217,6 +217,8 @@ void RayCast::_update_raycast_state() {
|
||||
against_shape = rr.shape;
|
||||
} else {
|
||||
collided = false;
|
||||
against = 0;
|
||||
against_shape = 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user