summaryrefslogtreecommitdiffstats
path: root/scene/3d
diff options
context:
space:
mode:
authorAndrii Doroshenko (Xrayez) <xrayez@gmail.com>2020-02-17 19:25:24 +0200
committerAndrii Doroshenko (Xrayez) <xrayez@gmail.com>2020-05-27 15:10:53 +0300
commit11f367fe02d4c17ae6689611a0962410876c8b86 (patch)
treefde5e084ac58de427a9b4c9bb8d751016ed171d3 /scene/3d
parent7b7b872d94eef7a89631c091f2740ccc219df2fc (diff)
downloadredot-engine-11f367fe02d4c17ae6689611a0962410876c8b86.tar.gz
Enable raycast nodes by default
Diffstat (limited to 'scene/3d')
-rw-r--r--scene/3d/ray_cast_3d.cpp3
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;