Merge pull request #14695 from amantley/trumpFix

Fixed Sinking Trump Avatar Bug: Stops unnecessary vertical re-centering with big-headed avatar
This commit is contained in:
Jamil Akram 2019-01-28 10:12:55 -08:00 committed by GitHub
commit bcaad3092b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -4815,7 +4815,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 = 2.0f;
const float CYLINDER_BOTTOM = -1.5f;
const float SITTING_BOTTOM = -0.02f;