mirror of
https://github.com/overte-org/overte.git
synced 2025-08-08 22:36:57 +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;
|
_bone[ AVATAR_BONE_RIGHT_HAND ].position += transformedHandMovement;
|
||||||
|
|
||||||
//-----------------------------------------------------
|
setHandState(_mousePressed);
|
||||||
// if holding hands, apply the appropriate forces...
|
|
||||||
//-----------------------------------------------------
|
//if holding hands, add a pull to the hand...
|
||||||
if ( _usingBodySprings ) {
|
if ( _usingBodySprings ) {
|
||||||
if ( _closestOtherAvatar != -1 ) {
|
if ( _closestOtherAvatar != -1 ) {
|
||||||
if ( _mousePressed ) {
|
if ( _mousePressed ) {
|
||||||
|
|
||||||
glm::vec3 handToHandVector( _otherAvatarHandPosition[ _closestOtherAvatar ]);
|
glm::vec3 handToHandVector( _otherAvatarHandPosition[ _closestOtherAvatar ]);
|
||||||
handToHandVector -= _bone[ AVATAR_BONE_RIGHT_HAND ].position;
|
handToHandVector -= _bone[ AVATAR_BONE_RIGHT_HAND ].position;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue