changes from Philip's push - I assume

This commit is contained in:
Jeffrey Ventrella 2013-04-23 12:23:08 -07:00
parent a1e3149d6a
commit e19d4fd5f9

View file

@ -1126,13 +1126,13 @@ void Head::updateHandMovement() {
_bone[ AVATAR_BONE_RIGHT_HAND ].position += transformedHandMovement;
//-----------------------------------------------------
// if holding hands, apply the appropriate forces...
//-----------------------------------------------------
setHandState(_mousePressed);
//if holding hands, add a pull to the hand...
if ( _usingBodySprings ) {
if ( _closestOtherAvatar != -1 ) {
if ( _mousePressed ) {
glm::vec3 handToHandVector( _otherAvatarHandPosition[ _closestOtherAvatar ]);
handToHandVector -= _bone[ AVATAR_BONE_RIGHT_HAND ].position;