reset block

This commit is contained in:
James B. Pollack 2016-03-30 14:05:22 -07:00
parent cefe672a93
commit cad8d1ff17

View file

@ -299,13 +299,17 @@
blue: 0 blue: 0
}, },
dimensions: { dimensions: {
x: 0.5, x: 1.0000,
y: 0.5, y: 0.0367,
z: 0.5 z: 1.0000
}, },
collisionless: true, collisionless: true,
angularDamping: 0, angularDamping: 0,
angularVelocity: Quat.fromPitchYawRollDegrees(0, 6, 0), angularVelocity: {
x: 0,
y: 6,
z: 0
},
dynamic: false, dynamic: false,
userData: JSON.stringify({ userData: JSON.stringify({
'hifiHomeKey': { 'hifiHomeKey': {
@ -313,10 +317,15 @@
} }
}), }),
position: { position: {
x: 1107.0330, x: 1106.9778,
y: 460.4326, y: 460.6075,
z: -74.5704 z: -74.5842
} },
userData: JSON.stringify({
'hifiHomeKey': {
'reset': true
}
})
} }
var rotatorBlock = Entities.addEntity(rotatorBlockProps); var rotatorBlock = Entities.addEntity(rotatorBlockProps);