Merge pull request #451 from Ventrella/master

increased hand motion sensitivity
This commit is contained in:
Philip Rosedale 2013-05-29 11:52:39 -07:00
commit eb4c2358a5

View file

@ -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;