updated ravestick spawner relative position

This commit is contained in:
ericrius1 2015-12-24 10:14:36 -08:00
parent cd983db419
commit 24796c1a1e

View file

@ -40,13 +40,18 @@ RaveStick = function(spawnPosition) {
userData: JSON.stringify({ userData: JSON.stringify({
grabbableKey: { grabbableKey: {
spatialKey: { spatialKey: {
relativePosition: { rightRelativePosition: {
x: 0, x: 0.02,
y: 0, y: 0,
z: -0.1 z: 0
},
leftRelativePosition: {
x: -0.02,
y: 0,
z: 0
},
relativeRotation: Quat.fromPitchYawRollDegrees(90, 90, 0)
}, },
relativeRotation: Quat.fromPitchYawRollDegrees(90, 90, 0)
},
invertSolidWhileHeld: true invertSolidWhileHeld: true
} }
}) })