diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2020-07-01 16:06:16 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-01 16:06:16 +0200 |
commit | 34e011c8a5ba4b9482a44b5601c28c68d65588d3 (patch) | |
tree | f71d36f6ca1762e683cec6c22f8639dcb247cd6c /scene/3d | |
parent | a8a2769bb6f7bc5231c06776300cbae7a9b2a4d6 (diff) | |
parent | 11f367fe02d4c17ae6689611a0962410876c8b86 (diff) |
Merge pull request #36307 from Xrayez/raycast-enabled-true
Enable raycast nodes by default
Diffstat (limited to 'scene/3d')
-rw-r--r-- | scene/3d/ray_cast_3d.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/scene/3d/ray_cast_3d.cpp b/scene/3d/ray_cast_3d.cpp index 68f4b3132c..2a922e3cda 100644 --- a/scene/3d/ray_cast_3d.cpp +++ b/scene/3d/ray_cast_3d.cpp @@ -383,8 +383,7 @@ void RayCast3D::_clear_debug_shape() { } RayCast3D::RayCast3D() { - enabled = false; - + enabled = true; collided = false; against_shape = 0; collision_mask = 1; |