mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-06-26 07:18:46 +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
|
blue: 150
|
||||||
},
|
},
|
||||||
collisionsWillMove: true,
|
collisionsWillMove: true,
|
||||||
|
gravity: {x: 0, y: -.5, z: 0},
|
||||||
userData: JSON.stringify({
|
userData: JSON.stringify({
|
||||||
grabbableKey: {
|
grabbableKey: {
|
||||||
spatialKey: {
|
spatialKey: {
|
||||||
relativePosition: {
|
relativePosition: {
|
||||||
x: 0,
|
x: 0,
|
||||||
y: .7,
|
y: .1,
|
||||||
z: 0
|
z: 0
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
|
@ -8,6 +8,7 @@ RaveStick = function(spawnPosition) {
|
||||||
modelURL: modelURL,
|
modelURL: modelURL,
|
||||||
position: spawnPosition,
|
position: spawnPosition,
|
||||||
shapeType: 'box',
|
shapeType: 'box',
|
||||||
|
dimensions: {x: 0.17, y: 0.48, z: 0.17},
|
||||||
userData: JSON.stringify({
|
userData: JSON.stringify({
|
||||||
grabbableKey: {
|
grabbableKey: {
|
||||||
invertSolidWhileHeld: true
|
invertSolidWhileHeld: true
|
||||||
|
|
Loading…
Reference in a new issue