diff options
Diffstat (limited to 'scene/resources/ray_shape_2d.h')
-rw-r--r-- | scene/resources/ray_shape_2d.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scene/resources/ray_shape_2d.h b/scene/resources/ray_shape_2d.h index 3570b7be52..56ecfa2722 100644 --- a/scene/resources/ray_shape_2d.h +++ b/scene/resources/ray_shape_2d.h @@ -36,8 +36,8 @@ class RayShape2D : public Shape2D { GDCLASS(RayShape2D, Shape2D); - real_t length; - bool slips_on_slope; + real_t length = 20.0; + bool slips_on_slope = false; void _update_shape(); |