mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 13:09:52 +02:00
Increase the linear velocity step when the avatar is small to avoid freezing
This commit is contained in:
parent
91df342ae9
commit
3c25e6d5a8
1 changed files with 1 additions and 1 deletions
|
@ -1942,7 +1942,7 @@ void MyAvatar::updateMotors() {
|
||||||
horizontalMotorTimescale = FLYING_MOTOR_TIMESCALE;
|
horizontalMotorTimescale = FLYING_MOTOR_TIMESCALE;
|
||||||
verticalMotorTimescale = FLYING_MOTOR_TIMESCALE;
|
verticalMotorTimescale = FLYING_MOTOR_TIMESCALE;
|
||||||
} else {
|
} else {
|
||||||
horizontalMotorTimescale = WALKING_MOTOR_TIMESCALE;
|
horizontalMotorTimescale = WALKING_MOTOR_TIMESCALE * getSensorToWorldScale();
|
||||||
verticalMotorTimescale = INVALID_MOTOR_TIMESCALE;
|
verticalMotorTimescale = INVALID_MOTOR_TIMESCALE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue