History

Synchronize eye joint and debugging vectors when the other avatar is looking at me.

Howard Stearns committed 11 years ago

Commit d28c5551 parent 74f695c5 files · +47 −11Browse files

Showing the changes to interface/src/Application.cpp (1 of 5 files). Show all

Unified · Split

interface/src/Application.cpp+4−0
@@ -2352,6 +2352,10 @@ void Application::updateMouseRay() { · 2351 unmodified lines
23522352 }
23532353 }
23542354
2355+// Called during Application::update immediately before AvatarManager::updateMyAvatar, updating my data that is then sent to everyone.
2356+// (Maybe this code should be moved there?)
2357+// The principal result is to call updateLookAtTargetAvatar() and then setLookAtPosition().
2358+// Note that it is called BEFORE we update position or joints based on sensors, etc.
23552359 void Application::updateMyAvatarLookAtPosition() {
23562360 PerformanceTimer perfTimer("lookAt");
23572361 bool showWarnings = Menu::getInstance()->isOptionChecked(MenuOption::PipelineWarnings);