mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 03:44:02 +02:00
change tablet forward offset
This commit is contained in:
parent
92f3dfe2ab
commit
2c55419c60
1 changed files with 1 additions and 1 deletions
|
@ -49,7 +49,7 @@ function calcSpawnInfo(hand, landscape) {
|
|||
var headRot = (HMD.active && Camera.mode === "first person") ? HMD.orientation : Camera.orientation;
|
||||
|
||||
var forward = Quat.getForward(headRot);
|
||||
var FORWARD_OFFSET = 0.6 * MyAvatar.sensorToWorldScale;
|
||||
var FORWARD_OFFSET = 0.5 * MyAvatar.sensorToWorldScale;
|
||||
finalPosition = Vec3.sum(headPos, Vec3.multiply(FORWARD_OFFSET, forward));
|
||||
var orientation = Quat.lookAt({x: 0, y: 0, z: 0}, forward, Vec3.multiplyQbyV(MyAvatar.orientation, Vec3.UNIT_Y));
|
||||
return {
|
||||
|
|
Loading…
Reference in a new issue