setting dimensions for rave stick

This commit is contained in:
ericrius1 2015-12-16 16:18:57 -08:00
parent 6a77ae5db2
commit 263557cc1a
2 changed files with 3 additions and 1 deletions

View file

@ -27,12 +27,13 @@ LightBall = function(spawnPosition) {
blue: 150
},
collisionsWillMove: true,
gravity: {x: 0, y: -.5, z: 0},
userData: JSON.stringify({
grabbableKey: {
spatialKey: {
relativePosition: {
x: 0,
y: .7,
y: .1,
z: 0
}
},

View file

@ -8,6 +8,7 @@ RaveStick = function(spawnPosition) {
modelURL: modelURL,
position: spawnPosition,
shapeType: 'box',
dimensions: {x: 0.17, y: 0.48, z: 0.17},
userData: JSON.stringify({
grabbableKey: {
invertSolidWhileHeld: true