mirror of
https://github.com/overte-org/overte.git
synced 2025-08-10 08:48:53 +02:00
Another rate adjustment.
This commit is contained in:
parent
6df245908c
commit
7a1f845189
1 changed files with 1 additions and 1 deletions
|
@ -1188,7 +1188,7 @@ void MyAvatar::updateChatCircle(float deltaTime) {
|
||||||
targetOrientation = rotationBetween(targetOrientation * IDENTITY_UP, up) * targetOrientation;
|
targetOrientation = rotationBetween(targetOrientation * IDENTITY_UP, up) * targetOrientation;
|
||||||
|
|
||||||
// approach the target position/orientation
|
// approach the target position/orientation
|
||||||
const float APPROACH_RATE = 0.01f;
|
const float APPROACH_RATE = 0.025f;
|
||||||
_position = glm::mix(_position, targetPosition, APPROACH_RATE);
|
_position = glm::mix(_position, targetPosition, APPROACH_RATE);
|
||||||
setOrientation(safeMix(orientation, targetOrientation, APPROACH_RATE));
|
setOrientation(safeMix(orientation, targetOrientation, APPROACH_RATE));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue