Fix bow offsets

This commit is contained in:
Atlante45 2015-12-08 10:48:30 -08:00
parent 65bc6aa371
commit 4ee5bf316a
2 changed files with 14 additions and 14 deletions

View file

@ -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)
} }

View file

@ -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)
} }