From e19d4fd5f9aac9409f9d159ae068ef1bcc109830 Mon Sep 17 00:00:00 2001 From: Jeffrey Ventrella Date: Tue, 23 Apr 2013 12:23:08 -0700 Subject: [PATCH] changes from Philip's push - I assume --- interface/src/Head.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/interface/src/Head.cpp b/interface/src/Head.cpp index 257e50b63d..6f293f2fef 100644 --- a/interface/src/Head.cpp +++ b/interface/src/Head.cpp @@ -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;