Showing the changes to interface/src/Application.cpp (1 of 3 files). Show all
Unified · Split
| @@ -407,7 +407,7 @@ void Application::paintGL() { · 406 unmodified lines | |||
| 407 | 407 | ||
| 408 | } else if (_myCamera.getMode() == CAMERA_MODE_FIRST_PERSON) { | 408 | } else if (_myCamera.getMode() == CAMERA_MODE_FIRST_PERSON) { |
| 409 | _myCamera.setTightness(0.0f); // In first person, camera follows head exactly without delay | 409 | _myCamera.setTightness(0.0f); // In first person, camera follows head exactly without delay |
| 410 | _myCamera.setTargetPosition(_myAvatar.getUprightHeadPosition()); | 410 | _myCamera.setTargetPosition(_myAvatar.getUprightEyeLevelPosition()); |
| 411 | _myCamera.setTargetRotation(_myAvatar.getHead().getCameraOrientation()); | 411 | _myCamera.setTargetRotation(_myAvatar.getHead().getCameraOrientation()); |
| 412 | 412 | ||
| 413 | } else if (_myCamera.getMode() == CAMERA_MODE_THIRD_PERSON) { | 413 | } else if (_myCamera.getMode() == CAMERA_MODE_THIRD_PERSON) { |