mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-09 08:36:26 +02:00
Fix bow offsets
This commit is contained in:
parent
65bc6aa371
commit
4ee5bf316a
2 changed files with 14 additions and 14 deletions
|
@ -67,15 +67,15 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
var BOW_SPATIAL_KEY = {
|
var BOW_SPATIAL_KEY = {
|
||||||
leftRelativePosition: {
|
leftRelativePosition: {
|
||||||
x: 0.05,
|
x: -0.02,
|
||||||
y: 0.06,
|
y: 0.08,
|
||||||
z: -0.05
|
z: 0.09
|
||||||
},
|
},
|
||||||
rightRelativePosition: {
|
rightRelativePosition: {
|
||||||
x: -0.05,
|
x: 0.02,
|
||||||
y: 0.06,
|
y: 0.08,
|
||||||
z: -0.05
|
z: 0.09
|
||||||
},
|
},
|
||||||
relativeRotation: Quat.fromPitchYawRollDegrees(0, 90, -90)
|
relativeRotation: Quat.fromPitchYawRollDegrees(0, 90, -90)
|
||||||
}
|
}
|
||||||
|
|
|
@ -49,14 +49,14 @@ var bow = Entities.addEntity({
|
||||||
invertSolidWhileHeld: true,
|
invertSolidWhileHeld: true,
|
||||||
spatialKey: {
|
spatialKey: {
|
||||||
leftRelativePosition: {
|
leftRelativePosition: {
|
||||||
x: 0.05,
|
x: -0.02,
|
||||||
y: 0.06,
|
y: 0.08,
|
||||||
z: -0.05
|
z: 0.09
|
||||||
},
|
},
|
||||||
rightRelativePosition: {
|
relativePosition: {
|
||||||
x: -0.05,
|
x: 0.02,
|
||||||
y: 0.06,
|
y: 0.08,
|
||||||
z: -0.05
|
z: 0.09
|
||||||
},
|
},
|
||||||
relativeRotation: Quat.fromPitchYawRollDegrees(0, 90, -90)
|
relativeRotation: Quat.fromPitchYawRollDegrees(0, 90, -90)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue