mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 17:49:27 +02:00
increase GROUND_TO_AUTOFLY_THRESHOLD
This commit is contained in:
parent
1930bde005
commit
e1c7ced652
1 changed files with 1 additions and 1 deletions
|
@ -541,7 +541,7 @@ void CharacterController::preSimulation() {
|
||||||
btVector3 rayEnd = rayStart - rayLength * _currentUp;
|
btVector3 rayEnd = rayStart - rayLength * _currentUp;
|
||||||
|
|
||||||
const btScalar FLY_TO_GROUND_THRESHOLD = 0.1f * _radius;
|
const btScalar FLY_TO_GROUND_THRESHOLD = 0.1f * _radius;
|
||||||
const btScalar GROUND_TO_AUTOFLY_THRESHOLD = 0.5f * _radius;
|
const btScalar GROUND_TO_AUTOFLY_THRESHOLD = 1.2f * _radius;
|
||||||
const quint64 TAKE_OFF_TO_IN_AIR_PERIOD = 250 * MSECS_PER_SECOND;
|
const quint64 TAKE_OFF_TO_IN_AIR_PERIOD = 250 * MSECS_PER_SECOND;
|
||||||
const btScalar MIN_HOVER_HEIGHT = 2.5f;
|
const btScalar MIN_HOVER_HEIGHT = 2.5f;
|
||||||
const quint64 JUMP_TO_HOVER_PERIOD = 1100 * MSECS_PER_SECOND;
|
const quint64 JUMP_TO_HOVER_PERIOD = 1100 * MSECS_PER_SECOND;
|
||||||
|
|
Loading…
Reference in a new issue