mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 15:23:56 +02:00
Merge pull request #451 from Ventrella/master
increased hand motion sensitivity
This commit is contained in:
commit
eb4c2358a5
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
|
||||
glm::vec3 transformedHandMovement
|
||||
= _orientation.getRight() * _movedHandOffset.x * 2.0f
|
||||
+ _orientation.getUp() * -_movedHandOffset.y * 1.0f
|
||||
+ _orientation.getFront() * -_movedHandOffset.y * 1.0f;
|
||||
+ _orientation.getUp() * -_movedHandOffset.y * 2.0f
|
||||
+ _orientation.getFront() * -_movedHandOffset.y * 2.0f;
|
||||
|
||||
_joint[ AVATAR_JOINT_RIGHT_FINGERTIPS ].position += transformedHandMovement;
|
||||
|
||||
|
|
Loading…
Reference in a new issue