mirror of
https://github.com/overte-org/overte.git
synced 2025-06-24 22:49:42 +02:00
Moved entity reset switch, fixed some style issues
This commit is contained in:
parent
9f0721c08b
commit
b7f52ea542
2 changed files with 15 additions and 30 deletions
|
@ -40,10 +40,6 @@
|
|||
this.triggerReset();
|
||||
},
|
||||
|
||||
startFarGrabNonColliding: function () {
|
||||
this.triggerReset();
|
||||
},
|
||||
|
||||
triggerReset: function() {
|
||||
MasterReset();
|
||||
},
|
||||
|
|
|
@ -24,21 +24,10 @@ function createHiddenMasterSwitch() {
|
|||
type: "Box",
|
||||
name: "Master Switch",
|
||||
script: hiddenEntityScriptURL,
|
||||
dimensions: {
|
||||
x: 0.2,
|
||||
y: 0.2,
|
||||
z: 0.2
|
||||
},
|
||||
color: {
|
||||
red: 42,
|
||||
green: 36,
|
||||
blue: 30
|
||||
},
|
||||
position: {
|
||||
x: 554,
|
||||
y: 495.5,
|
||||
z: 503.2
|
||||
}
|
||||
dimensions: {x: 0.7, y: 0.2, z: 0.1},
|
||||
position: {x: 543.9, y: 496.05, z: 502.43},
|
||||
rotation: Quat.fromPitchYawRollDegrees(0, 33, 0),
|
||||
visible: false
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue