mirror of
https://github.com/godotengine/godot.git
synced 2025-01-23 19:12:24 -05:00
Merge pull request #36307 from Xrayez/raycast-enabled-true
Enable raycast nodes by default
This commit is contained in:
commit
34e011c8a5
2 changed files with 2 additions and 4 deletions
|
@ -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…
Add table
Reference in a new issue