From b6c0ae4bea085257b702e8bb3847c5951b5e155e Mon Sep 17 00:00:00 2001 From: "Anthony J. Thibault" Date: Thu, 9 Jul 2015 16:29:43 -0700 Subject: [PATCH] Fix for flying in HMDMode with avatar collisons disabled --- interface/src/avatar/MyAvatar.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/interface/src/avatar/MyAvatar.cpp b/interface/src/avatar/MyAvatar.cpp index e336bd1775..8ee378715b 100644 --- a/interface/src/avatar/MyAvatar.cpp +++ b/interface/src/avatar/MyAvatar.cpp @@ -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