From 49f5d5f2b7dd7fccb1a7bfc73733c12daf28b431 Mon Sep 17 00:00:00 2001 From: David Rowe Date: Wed, 29 Aug 2018 08:55:46 +1200 Subject: [PATCH] Display mini tablet rotated in palm --- scripts/system/miniTablet.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/scripts/system/miniTablet.js b/scripts/system/miniTablet.js index ca665b888a..25a3389539 100644 --- a/scripts/system/miniTablet.js +++ b/scripts/system/miniTablet.js @@ -22,12 +22,12 @@ PROXY_DIMENSIONS = { x: 0.0637, y: 0.0965, z: 0.0046 }, // Proportional to tablet proper. PROXY_POSITION_LEFT_HAND = { x: 0, - y: 0.07, // Distance from joint. + y: 0.1, // Distance from joint. z: 0.07 // Distance above palm. }, PROXY_POSITION_RIGHT_HAND = { x: 0, - y: 0.07, // Distance from joint. + y: 0.1, // Distance from joint. z: 0.07 // Distance above palm. }, /* @@ -36,8 +36,8 @@ PROXY_ROTATION_RIGHT_HAND = Quat.fromVec3Degrees({ x: 0, y: 180, z: -90 }), */ // Aligned with palm. - PROXY_ROTATION_LEFT_HAND = Quat.fromVec3Degrees({ x: 0, y: 180, z: 0 }), - PROXY_ROTATION_RIGHT_HAND = Quat.fromVec3Degrees({ x: 0, y: 180, z: 0 }), + PROXY_ROTATION_LEFT_HAND = Quat.fromVec3Degrees({ x: -40, y: 180, z: 0 }), + PROXY_ROTATION_RIGHT_HAND = Quat.fromVec3Degrees({ x: -40, y: 180, z: 0 }), // UI overlay. proxyUIOverlay = null, @@ -79,7 +79,7 @@ { x: 0.5, y: -0.75, z: 0 }, { x: -0.5, y: -0.75, z: 0 } ], - PROXY_EXPAND_DELTA_ROTATION = Quat.fromVec3Degrees({ x: -45, y: 0, z: 0 }), + PROXY_EXPAND_DELTA_ROTATION = Quat.fromVec3Degrees({ x: -5, y: 0, z: 0 }), proxyExpandHand, proxyExpandLocalPosition, proxyExpandLocalRotation = Quat.IDENTITY,