From 0e5b3573627db918af214b11d95835d7f9d43181 Mon Sep 17 00:00:00 2001 From: Andrew Meadows Date: Mon, 31 Aug 2015 14:32:49 -0700 Subject: [PATCH] revert unintended change to "gravity" term in IK --- libraries/animation/src/Rig.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/animation/src/Rig.cpp b/libraries/animation/src/Rig.cpp index 2533c9d95c..641235dc96 100644 --- a/libraries/animation/src/Rig.cpp +++ b/libraries/animation/src/Rig.cpp @@ -671,7 +671,7 @@ void Rig::inverseKinematics(int endIndex, glm::vec3 targetPosition, const glm::q float gravityAngle = glm::angle(gravityDelta); const float MIN_GRAVITY_ANGLE = 0.5f; - float mixFactor = 0.5f; + float mixFactor = 0.1f; if (gravityAngle < MIN_GRAVITY_ANGLE) { // the final rotation is a mix of the two mixFactor = 0.5f * gravityAngle / MIN_GRAVITY_ANGLE;