summaryrefslogtreecommitdiff
path: root/scene/3d/spring_arm.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'scene/3d/spring_arm.cpp')
-rw-r--r--scene/3d/spring_arm.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/scene/3d/spring_arm.cpp b/scene/3d/spring_arm.cpp
index 492c6b806e..f74784c2f9 100644
--- a/scene/3d/spring_arm.cpp
+++ b/scene/3d/spring_arm.cpp
@@ -29,15 +29,16 @@
/*************************************************************************/
#include "spring_arm.h"
-#include "engine.h"
+#include "core/engine.h"
#include "scene/3d/collision_object.h"
#include "scene/resources/sphere_shape.h"
#include "servers/physics_server.h"
SpringArm::SpringArm() :
spring_length(1),
- mask(1),
current_spring_length(0),
+ keep_child_basis(false),
+ mask(1),
margin(0.01) {}
void SpringArm::_notification(int p_what) {