mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-18 10:16:55 +02:00
Oculus will work with touch look (hopefully)
This commit is contained in:
parent
d2dd41ba0f
commit
4e89c679b9
1 changed files with 2 additions and 2 deletions
|
@ -2056,8 +2056,8 @@ void Application::updateAvatar(float deltaTime) {
|
|||
float yaw, pitch, roll;
|
||||
OculusManager::getEulerAngles(yaw, pitch, roll);
|
||||
|
||||
_myAvatar.getHead().setYaw(yaw);
|
||||
_myAvatar.getHead().setPitch(pitch);
|
||||
_myAvatar.getHead().setYaw(yaw + _yawFromTouch);
|
||||
_myAvatar.getHead().setPitch(pitch + _pitchFromTouch);
|
||||
_myAvatar.getHead().setRoll(roll);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue