Merge pull request #36307 from Xrayez/raycast-enabled-true

Enable raycast nodes by default
This commit is contained in:
Rémi Verschelde 2020-07-01 16:06:16 +02:00 committed by GitHub
commit 34e011c8a5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 4 deletions

View File

@ -325,8 +325,7 @@ void RayCast2D::_bind_methods() {
}
RayCast2D::RayCast2D() {
enabled = false;
enabled = true;
collided = false;
against_shape = 0;
collision_mask = 1;

View File

@ -383,8 +383,7 @@ void RayCast3D::_clear_debug_shape() {
}
RayCast3D::RayCast3D() {
enabled = false;
enabled = true;
collided = false;
against_shape = 0;
collision_mask = 1;