mirror of
https://github.com/overte-org/overte.git
synced 2025-08-06 16:36:54 +02:00
increased hand motion sensitivity
This commit is contained in:
parent
ab3b0c8aa3
commit
e34193f1d7
1 changed files with 2 additions and 2 deletions
|
@ -470,8 +470,8 @@ void Avatar::updateHandMovementAndTouching(float deltaTime) {
|
||||||
// reset hand and arm positions according to hand movement
|
// reset hand and arm positions according to hand movement
|
||||||
glm::vec3 transformedHandMovement
|
glm::vec3 transformedHandMovement
|
||||||
= _orientation.getRight() * _movedHandOffset.x * 2.0f
|
= _orientation.getRight() * _movedHandOffset.x * 2.0f
|
||||||
+ _orientation.getUp() * -_movedHandOffset.y * 1.0f
|
+ _orientation.getUp() * -_movedHandOffset.y * 2.0f
|
||||||
+ _orientation.getFront() * -_movedHandOffset.y * 1.0f;
|
+ _orientation.getFront() * -_movedHandOffset.y * 2.0f;
|
||||||
|
|
||||||
_joint[ AVATAR_JOINT_RIGHT_FINGERTIPS ].position += transformedHandMovement;
|
_joint[ AVATAR_JOINT_RIGHT_FINGERTIPS ].position += transformedHandMovement;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue