mirror of
https://github.com/overte-org/overte.git
synced 2025-04-21 06:44:06 +02:00
changes from Philip's push - I assume
This commit is contained in:
parent
a1e3149d6a
commit
e19d4fd5f9
1 changed files with 4 additions and 4 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue