mirror of
https://github.com/overte-org/overte.git
synced 2025-08-08 17:17:58 +02:00
reset block
This commit is contained in:
parent
cefe672a93
commit
cad8d1ff17
1 changed files with 17 additions and 8 deletions
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue