mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 11:48:09 +02:00
Display mini tablet rotated in palm
This commit is contained in:
parent
e5c733e7f2
commit
49f5d5f2b7
1 changed files with 5 additions and 5 deletions
|
@ -22,12 +22,12 @@
|
||||||
PROXY_DIMENSIONS = { x: 0.0637, y: 0.0965, z: 0.0046 }, // Proportional to tablet proper.
|
PROXY_DIMENSIONS = { x: 0.0637, y: 0.0965, z: 0.0046 }, // Proportional to tablet proper.
|
||||||
PROXY_POSITION_LEFT_HAND = {
|
PROXY_POSITION_LEFT_HAND = {
|
||||||
x: 0,
|
x: 0,
|
||||||
y: 0.07, // Distance from joint.
|
y: 0.1, // Distance from joint.
|
||||||
z: 0.07 // Distance above palm.
|
z: 0.07 // Distance above palm.
|
||||||
},
|
},
|
||||||
PROXY_POSITION_RIGHT_HAND = {
|
PROXY_POSITION_RIGHT_HAND = {
|
||||||
x: 0,
|
x: 0,
|
||||||
y: 0.07, // Distance from joint.
|
y: 0.1, // Distance from joint.
|
||||||
z: 0.07 // Distance above palm.
|
z: 0.07 // Distance above palm.
|
||||||
},
|
},
|
||||||
/*
|
/*
|
||||||
|
@ -36,8 +36,8 @@
|
||||||
PROXY_ROTATION_RIGHT_HAND = Quat.fromVec3Degrees({ x: 0, y: 180, z: -90 }),
|
PROXY_ROTATION_RIGHT_HAND = Quat.fromVec3Degrees({ x: 0, y: 180, z: -90 }),
|
||||||
*/
|
*/
|
||||||
// Aligned with palm.
|
// Aligned with palm.
|
||||||
PROXY_ROTATION_LEFT_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: 0, y: 180, z: 0 }),
|
PROXY_ROTATION_RIGHT_HAND = Quat.fromVec3Degrees({ x: -40, y: 180, z: 0 }),
|
||||||
|
|
||||||
// UI overlay.
|
// UI overlay.
|
||||||
proxyUIOverlay = null,
|
proxyUIOverlay = null,
|
||||||
|
@ -79,7 +79,7 @@
|
||||||
{ x: 0.5, y: -0.75, z: 0 },
|
{ x: 0.5, y: -0.75, z: 0 },
|
||||||
{ 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,
|
proxyExpandHand,
|
||||||
proxyExpandLocalPosition,
|
proxyExpandLocalPosition,
|
||||||
proxyExpandLocalRotation = Quat.IDENTITY,
|
proxyExpandLocalRotation = Quat.IDENTITY,
|
||||||
|
|
Loading…
Reference in a new issue