mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-09 06:48:04 +02:00
hydra vertical offset
This commit is contained in:
parent
d88e484b00
commit
69bfd7dcc1
1 changed files with 2 additions and 2 deletions
|
@ -419,8 +419,8 @@ void SixenseManager::handlePoseEvent(glm::vec3 position, glm::quat rotation, int
|
||||||
#ifdef HAVE_SIXENSE
|
#ifdef HAVE_SIXENSE
|
||||||
// Transform the measured position into body frame.
|
// Transform the measured position into body frame.
|
||||||
glm::vec3 neck = _neckBase;
|
glm::vec3 neck = _neckBase;
|
||||||
// Zeroing y component of the "neck" effectively raises the measured position a little bit.
|
// Set y component of the "neck" to raise the measured position a little bit.
|
||||||
neck.y = 0.0f;
|
neck.y = 0.5f;
|
||||||
position = _orbRotation * (position - neck);
|
position = _orbRotation * (position - neck);
|
||||||
|
|
||||||
// adjustment for hydra controllers fit into hands
|
// adjustment for hydra controllers fit into hands
|
||||||
|
|
Loading…
Reference in a new issue