mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 04:44:11 +02:00
Fix for flying in HMDMode with avatar collisons disabled
This commit is contained in:
parent
f2436bc00a
commit
b6c0ae4bea
1 changed files with 1 additions and 0 deletions
|
@ -1479,6 +1479,7 @@ void MyAvatar::updatePosition(float deltaTime) {
|
|||
// update position ourselves
|
||||
applyPositionDelta(deltaTime * _targetVelocity);
|
||||
measureMotionDerivatives(deltaTime);
|
||||
setPosition(getPosition()); // seems redundant, but we should do this to update the sensorMat.
|
||||
} // else physics will move avatar later
|
||||
|
||||
// update _moving flag based on speed
|
||||
|
|
Loading…
Reference in a new issue