mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-05-28 11:52:31 +02:00
setting dimensions for rave stick
This commit is contained in:
parent
6a77ae5db2
commit
263557cc1a
2 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
}
|
||||
},
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue