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:
Jeff Clinton 2018-12-06 09:41:29 -08:00 committed by GitHub
commit e65e8d29a1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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;