mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-04 04:24:47 +02:00
Merge pull request #14442 from hyperlogic/bug-fix/hand-grasp-during-desktop-handshake
Ensure that hand is in grasp pose during desktop handshake animation
This commit is contained in:
commit
e65e8d29a1
1 changed files with 9 additions and 0 deletions
|
@ -229,6 +229,15 @@
|
||||||
}
|
}
|
||||||
animationData.rightHandRotation = Quat.fromPitchYawRollDegrees(90, 0, 90);
|
animationData.rightHandRotation = Quat.fromPitchYawRollDegrees(90, 0, 90);
|
||||||
animationData.rightHandType = 0; // RotationAndPosition, see IKTargets.h
|
animationData.rightHandType = 0; // RotationAndPosition, see IKTargets.h
|
||||||
|
|
||||||
|
// turn on the right hand grip overlay
|
||||||
|
animationData.rightHandOverlayAlpha = 1.0;
|
||||||
|
|
||||||
|
// make sure the right hand grip animation is the "grasp", not pointing or thumbs up.
|
||||||
|
animationData.isRightHandGrasp = true;
|
||||||
|
animationData.isRightIndexPoint = false;
|
||||||
|
animationData.isRightThumbRaise = false;
|
||||||
|
animationData.isRightIndexPointAndThumbRaise = false;
|
||||||
}
|
}
|
||||||
function shakeHandsAnimation() {
|
function shakeHandsAnimation() {
|
||||||
return animationData;
|
return animationData;
|
||||||
|
|
Loading…
Reference in a new issue