mirror of
https://github.com/overte-org/overte.git
synced 2025-04-23 08:33:28 +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
|
||||
// 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
|
||||
|
|
Loading…
Reference in a new issue