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