Improve comfort of third-person HMD camera.
Showing the changes to interface/src/Application.cpp (1 of 2 files). Show all
Unified · Split
| @@ -3451,9 +3451,6 @@ void Application::update(float deltaTime) { · 3450 unmodified lines | |||
| 3451 | avatarManager->updateOtherAvatars(deltaTime); | 3451 | avatarManager->updateOtherAvatars(deltaTime); |
| 3452 | } | 3452 | } |
| 3453 | 3453 | ||
| 3454 | // update sensorToWorldMatrix for camera and hand controllers | ||
| 3455 | getMyAvatar()->updateSensorToWorldMatrix(); | ||
| 3456 | |||
| 3457 | qApp->updateMyAvatarLookAtPosition(); | 3454 | qApp->updateMyAvatarLookAtPosition(); |
| 3458 | 3455 | ||
| 3459 | { | 3456 | { |