mirror of
https://github.com/overte-org/overte.git
synced 2025-08-08 10:37:35 +02:00
increased the threshold to stop vertical recentering
This commit is contained in:
parent
cc4d9e2ae2
commit
91fddf783f
1 changed files with 1 additions and 1 deletions
|
@ -4761,7 +4761,7 @@ bool MyAvatar::FollowHelper::shouldActivateHorizontalCG(MyAvatar& myAvatar) cons
|
||||||
}
|
}
|
||||||
|
|
||||||
bool MyAvatar::FollowHelper::shouldActivateVertical(const MyAvatar& myAvatar, const glm::mat4& desiredBodyMatrix, const glm::mat4& currentBodyMatrix) const {
|
bool MyAvatar::FollowHelper::shouldActivateVertical(const MyAvatar& myAvatar, const glm::mat4& desiredBodyMatrix, const glm::mat4& currentBodyMatrix) const {
|
||||||
const float CYLINDER_TOP = 0.5f;
|
const float CYLINDER_TOP = 2.0f;
|
||||||
const float CYLINDER_BOTTOM = -1.5f;
|
const float CYLINDER_BOTTOM = -1.5f;
|
||||||
const float SITTING_BOTTOM = -0.02f;
|
const float SITTING_BOTTOM = -0.02f;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue