aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordotquixote2017-06-26 03:25:27 +0900
committerRémi Verschelde2017-06-26 09:17:19 +0200
commit23f10c31de63a2c8a944599ee79902c8c8191dbf (patch)
tree5ede347c6b99fc9929fdd4e37b1121bac79ba234
parent03bfa476363fc67354f3b4fbe02ebc21228d402b (diff)
downloadgodot-23f10c31de63a2c8a944599ee79902c8c8191dbf.tar.gz
godot-23f10c31de63a2c8a944599ee79902c8c8191dbf.tar.zst
godot-23f10c31de63a2c8a944599ee79902c8c8191dbf.zip
ConeTwistJoint: Initialize 'm_angularOnly'.
Diffstat (limited to '')
-rw-r--r--servers/physics/joints/cone_twist_joint_sw.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/servers/physics/joints/cone_twist_joint_sw.cpp b/servers/physics/joints/cone_twist_joint_sw.cpp
index 7e1390959..51bc27ea7 100644
--- a/servers/physics/joints/cone_twist_joint_sw.cpp
+++ b/servers/physics/joints/cone_twist_joint_sw.cpp
@@ -100,6 +100,7 @@ ConeTwistJointSW::ConeTwistJointSW(BodySW *rbA, BodySW *rbB, const Transform &rb
m_biasFactor = 0.3f;
m_relaxationFactor = 1.0f;
+ m_angularOnly = false;
m_solveTwistLimit = false;
m_solveSwingLimit = false;