Merge pull request #36307 from Xrayez/raycast-enabled-true
Enable raycast nodes by default
This commit is contained in:
commit
34e011c8a5
@ -325,8 +325,7 @@ void RayCast2D::_bind_methods() {
|
||||
}
|
||||
|
||||
RayCast2D::RayCast2D() {
|
||||
enabled = false;
|
||||
|
||||
enabled = true;
|
||||
collided = false;
|
||||
against_shape = 0;
|
||||
collision_mask = 1;
|
||||
|
@ -383,8 +383,7 @@ void RayCast3D::_clear_debug_shape() {
|
||||
}
|
||||
|
||||
RayCast3D::RayCast3D() {
|
||||
enabled = false;
|
||||
|
||||
enabled = true;
|
||||
collided = false;
|
||||
against_shape = 0;
|
||||
collision_mask = 1;
|
||||
|
Loading…
Reference in New Issue
Block a user