From a4d1db1aeb218f4daafb23cd121a35c0161d205d Mon Sep 17 00:00:00 2001 From: ZappoMan Date: Wed, 29 Mar 2017 14:40:47 -0700 Subject: [PATCH] tweak --- script-archive/controllers/kinectToAnimation.js | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/script-archive/controllers/kinectToAnimation.js b/script-archive/controllers/kinectToAnimation.js index 0451acccc9..84e5da866c 100644 --- a/script-archive/controllers/kinectToAnimation.js +++ b/script-archive/controllers/kinectToAnimation.js @@ -29,17 +29,18 @@ function init() { ]; handlerId = MyAvatar.addAnimationStateHandler(function (props) { return { - rightHandType: ikTypes["HipsRelativeRotationAndPosition"], + + rightHandType: ikTypes["RotationAndPosition"], rightHandPosition: recentRightHand.translation, rightHandRotation: recentRightHand.rotation, - leftHandType: ikTypes["HipsRelativeRotationAndPosition"], + leftHandType: ikTypes["RotationAndPosition"], leftHandPosition: recentLeftHand.translation, leftHandRotation: recentLeftHand.rotation, - rightFootType: ikTypes["HipsRelativeRotationAndPosition"], + rightFootType: ikTypes["RotationAndPosition"], rightFootPosition: recentRightFoot.translation, rightFootRotation: recentRightFoot.rotation, - leftFootType: ikTypes["HipsRelativeRotationAndPosition"], + leftFootType: ikTypes["RotationAndPosition"], leftFootPosition: recentLeftFoot.translation, leftFootRotation: recentLeftFoot.rotation,