Merge pull request #15620 from AndreaCatania/p4

Reset collider on ray node
This commit is contained in:
Rémi Verschelde 2018-01-12 12:49:16 +01:00 committed by GitHub
commit 2dbd3475a5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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