summaryrefslogtreecommitdiff
path: root/scene/resources/ray_shape_3d.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'scene/resources/ray_shape_3d.cpp')
-rw-r--r--scene/resources/ray_shape_3d.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/scene/resources/ray_shape_3d.cpp b/scene/resources/ray_shape_3d.cpp
index a332bb575f..e0cecdfc92 100644
--- a/scene/resources/ray_shape_3d.cpp
+++ b/scene/resources/ray_shape_3d.cpp
@@ -87,9 +87,6 @@ void RayShape3D::_bind_methods() {
RayShape3D::RayShape3D() :
Shape3D(PhysicsServer3D::get_singleton()->shape_create(PhysicsServer3D::SHAPE_RAY)) {
- length = 1.0;
- slips_on_slope = false;
-
/* Code copied from setters to prevent the use of uninitialized variables */
_update_shape();
notify_change_to_owners();