mirror of
https://github.com/overte-org/overte.git
synced 2025-04-08 07:12:40 +02:00
Ensure that hand is in grasp pose during desktop handshake animation
This commit is contained in:
parent
484de06cf4
commit
0f7afb133a
1 changed files with 9 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue