Merge pull request #15620 from AndreaCatania/p4
Reset collider on ray node
This commit is contained in:
commit
2dbd3475a5
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue