diff options
Diffstat (limited to 'scene/resources/ray_shape_3d.h')
-rw-r--r-- | scene/resources/ray_shape_3d.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scene/resources/ray_shape_3d.h b/scene/resources/ray_shape_3d.h index 2c27d56c63..2da6311321 100644 --- a/scene/resources/ray_shape_3d.h +++ b/scene/resources/ray_shape_3d.h @@ -34,8 +34,8 @@ class RayShape3D : public Shape3D { GDCLASS(RayShape3D, Shape3D); - float length; - bool slips_on_slope; + float length = 1.0; + bool slips_on_slope = false; protected: static void _bind_methods(); |