Ensure that hand is in grasp pose during desktop handshake animation

This commit is contained in:
Anthony Thibault 2018-11-19 17:59:50 -08:00
parent 484de06cf4
commit 0f7afb133a

View file

@ -229,6 +229,15 @@
}
animationData.rightHandRotation = Quat.fromPitchYawRollDegrees(90, 0, 90);
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() {
return animationData;