From b5a3b25adce366c83788b479eb41df61870cbdf3 Mon Sep 17 00:00:00 2001 From: "Anthony J. Thibault" Date: Tue, 5 Jun 2018 16:07:54 -0700 Subject: [PATCH] Tuned hip smoothing times. --- interface/src/avatar/MySkeletonModel.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/interface/src/avatar/MySkeletonModel.cpp b/interface/src/avatar/MySkeletonModel.cpp index c23c6da8d3..c15b00ca19 100644 --- a/interface/src/avatar/MySkeletonModel.cpp +++ b/interface/src/avatar/MySkeletonModel.cpp @@ -202,10 +202,10 @@ void MySkeletonModel::updateRig(float deltaTime, glm::mat4 parentTransform) { AnimPose hips = computeHipsInSensorFrame(myAvatar, isFlying); // timescale in seconds - const float TRANS_HORIZ_TIMESCALE = 0.25f; + const float TRANS_HORIZ_TIMESCALE = 0.15f; const float TRANS_VERT_TIMESCALE = 0.01f; // We want the vertical component of the hips to follow quickly to prevent spine squash/stretch. const float ROT_TIMESCALE = 0.15f; - const float FLY_IDLE_TRANSITION_TIMESCALE = 0.3f; + const float FLY_IDLE_TRANSITION_TIMESCALE = 0.25f; float transHorizAlpha, transVertAlpha, rotAlpha; if (_flyIdleTimer < 0.0f) {