From 8cba72743e4feb98ecb4e62302e1d5b0be81b674 Mon Sep 17 00:00:00 2001 From: amantley Date: Fri, 11 Jan 2019 08:46:20 -0800 Subject: [PATCH] changed the value for the top threshold that triggers a vertical reset, this stops unwanted recentering --- interface/src/avatar/MyAvatar.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interface/src/avatar/MyAvatar.cpp b/interface/src/avatar/MyAvatar.cpp index e40fc7f9dd..495bec4ec8 100755 --- a/interface/src/avatar/MyAvatar.cpp +++ b/interface/src/avatar/MyAvatar.cpp @@ -4252,7 +4252,7 @@ bool MyAvatar::FollowHelper::shouldActivateHorizontalCG(MyAvatar& myAvatar) cons } bool MyAvatar::FollowHelper::shouldActivateVertical(const MyAvatar& myAvatar, const glm::mat4& desiredBodyMatrix, const glm::mat4& currentBodyMatrix) const { - const float CYLINDER_TOP = 0.1f; + const float CYLINDER_TOP = 0.5f; const float CYLINDER_BOTTOM = -1.5f; const float SITTING_BOTTOM = -0.02f;