Enable raycast nodes by default
This commit is contained in:
parent
7b7b872d94
commit
11f367fe02
|
@ -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