mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 18:23:54 +02:00
restore position integration in Avatar::simulate()
This commit is contained in:
parent
ff09a0d41b
commit
9c2bfa35f7
1 changed files with 1 additions and 0 deletions
|
@ -204,6 +204,7 @@ void Avatar::simulate(float deltaTime) {
|
|||
_displayNameAlpha = abs(_displayNameAlpha - _displayNameTargetAlpha) < 0.01f ? _displayNameTargetAlpha : _displayNameAlpha;
|
||||
}
|
||||
|
||||
_position += _velocity * deltaTime;
|
||||
measureMotionDerivatives(deltaTime);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue