tweak HTC controller offset

This commit is contained in:
Patrick Nicolas
2026-07-25 18:35:41 +02:00
committed by Guillaume Meunier
parent 3c148bd1dd
commit d30ddc96e9
3 changed files with 2 additions and 2 deletions
Binary file not shown.
BIN
View File
Binary file not shown.
+2 -2
View File
@@ -509,11 +509,11 @@ std::pair<glm::vec3, glm::quat> hmd_traits::controller_offset(xr::spaces space)
{
case xr::spaces::grip_left:
case xr::spaces::grip_right:
return {{0, 0, -0.03}, glm::angleAxis(glm::radians(-35.f), glm::vec3{1, 0, 0})};
return {{0, 0, 0}, {1, 0, 0, 0}};
case xr::spaces::aim_left:
case xr::spaces::aim_right:
return {{0, 0, 0}, {1, 0, 0, 0}};
return {{0, -0.045, 0.035}, {1, 0, 0, 0}};
default:
break;