Reset collider on ray node
This commit is contained in:
parent
baef1e71c7
commit
207af6c4f9
1 changed files with 2 additions and 0 deletions
|
@ -217,6 +217,8 @@ void RayCast::_update_raycast_state() {
|
|||
against_shape = rr.shape;
|
||||
} else {
|
||||
collided = false;
|
||||
against = 0;
|
||||
against_shape = 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue