From 69bfd7dcc15d1d88dcbff82446ec70dd451f5f61 Mon Sep 17 00:00:00 2001 From: SamGondelman Date: Mon, 20 Jul 2015 13:42:35 -0700 Subject: [PATCH] hydra vertical offset --- libraries/input-plugins/src/input-plugins/SixenseManager.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libraries/input-plugins/src/input-plugins/SixenseManager.cpp b/libraries/input-plugins/src/input-plugins/SixenseManager.cpp index de02098458..a8a24cd2a5 100644 --- a/libraries/input-plugins/src/input-plugins/SixenseManager.cpp +++ b/libraries/input-plugins/src/input-plugins/SixenseManager.cpp @@ -419,8 +419,8 @@ void SixenseManager::handlePoseEvent(glm::vec3 position, glm::quat rotation, int #ifdef HAVE_SIXENSE // Transform the measured position into body frame. glm::vec3 neck = _neckBase; - // Zeroing y component of the "neck" effectively raises the measured position a little bit. - neck.y = 0.0f; + // Set y component of the "neck" to raise the measured position a little bit. + neck.y = 0.5f; position = _orbRotation * (position - neck); // adjustment for hydra controllers fit into hands