summaryrefslogtreecommitdiff
path: root/scene/3d/spring_arm_3d.h
diff options
context:
space:
mode:
Diffstat (limited to 'scene/3d/spring_arm_3d.h')
-rw-r--r--scene/3d/spring_arm_3d.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/scene/3d/spring_arm_3d.h b/scene/3d/spring_arm_3d.h
index 864919c631..63505ab9d3 100644
--- a/scene/3d/spring_arm_3d.h
+++ b/scene/3d/spring_arm_3d.h
@@ -38,8 +38,8 @@ class SpringArm3D : public Node3D {
Ref<Shape3D> shape;
Set<RID> excluded_objects;
- real_t spring_length = 1;
- real_t current_spring_length = 0;
+ real_t spring_length = 1.0;
+ real_t current_spring_length = 0.0;
bool keep_child_basis = false;
uint32_t mask = 1;
real_t margin = 0.01;