diff options
author | dotquixote <dotquixote@gmail.com> | 2017-06-26 03:25:27 +0900 |
---|---|---|
committer | RĂ©mi Verschelde <rverschelde@gmail.com> | 2017-06-26 09:17:19 +0200 |
commit | 23f10c31de63a2c8a944599ee79902c8c8191dbf (patch) | |
tree | 5ede347c6b99fc9929fdd4e37b1121bac79ba234 /servers/physics | |
parent | 03bfa476363fc67354f3b4fbe02ebc21228d402b (diff) |
ConeTwistJoint: Initialize 'm_angularOnly'.
Diffstat (limited to 'servers/physics')
-rw-r--r-- | servers/physics/joints/cone_twist_joint_sw.cpp | 1 |
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 7e13909592..51bc27ea7d 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; |