mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 04:44:11 +02:00
MyAvatar: open up horizontal leaning threshold
This commit is contained in:
parent
37ba0ecd9f
commit
0de19d13c4
1 changed files with 1 additions and 1 deletions
|
@ -1944,7 +1944,7 @@ bool MyAvatar::FollowHelper::shouldActivateRotation(const MyAvatar& myAvatar, co
|
|||
|
||||
bool MyAvatar::FollowHelper::shouldActivateHorizontal(const MyAvatar& myAvatar, const glm::mat4& desiredBodyMatrix, const glm::mat4& currentBodyMatrix) const {
|
||||
|
||||
const float CYLINDER_RADIUS = 0.15f;
|
||||
const float CYLINDER_RADIUS = 0.3f;
|
||||
|
||||
glm::vec3 offset = extractTranslation(desiredBodyMatrix) - extractTranslation(currentBodyMatrix);
|
||||
glm::vec3 radialOffset(offset.x, 0.0f, offset.z);
|
||||
|
|
Loading…
Reference in a new issue