mirror of
https://github.com/overte-org/overte.git
synced 2025-08-17 11:06:47 +02:00
fix typo that broke build
This commit is contained in:
parent
b65cc58496
commit
9fa9784135
1 changed files with 1 additions and 1 deletions
|
@ -469,7 +469,7 @@ void CharacterController::setFollowParameters(const glm::mat4& desiredWorldBodyM
|
|||
float newSpeed = newFollowVelocity.length() + dontDivideByZero;
|
||||
float oldSpeed = _followVelocity.length();
|
||||
const float VERY_SLOW_HOVER_SPEED = 0.25f;
|
||||
const FAST_CHANGE_SPEED_RATIO = 100.0f;
|
||||
const float FAST_CHANGE_SPEED_RATIO = 100.0f;
|
||||
if (oldSpeed / newSpeed > FAST_CHANGE_SPEED_RATIO && newSpeed < VERY_SLOW_HOVER_SPEED) {
|
||||
// avatar is stopping quickly
|
||||
// HACK: slam _followVelocity and _rigidBody velocity immediately
|
||||
|
|
Loading…
Reference in a new issue