From 0f7afb133ad817225d1febc13819767acc7d1a93 Mon Sep 17 00:00:00 2001 From: Anthony Thibault Date: Mon, 19 Nov 2018 17:59:50 -0800 Subject: [PATCH] Ensure that hand is in grasp pose during desktop handshake animation --- scripts/system/makeUserConnection.js | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/scripts/system/makeUserConnection.js b/scripts/system/makeUserConnection.js index d205d368dd..4b59f050c9 100644 --- a/scripts/system/makeUserConnection.js +++ b/scripts/system/makeUserConnection.js @@ -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;