mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 11:45:36 +02:00
removing dummy script
This commit is contained in:
parent
839d4a3bda
commit
9269bd2619
1 changed files with 0 additions and 40 deletions
|
@ -1,40 +0,0 @@
|
|||
(function(){
|
||||
var button;
|
||||
var tablet = Tablet.getTablet("com.highfidelity.interface.tablet.system");
|
||||
|
||||
function destroyBabies() {
|
||||
// TODO: destroy babies
|
||||
}
|
||||
|
||||
|
||||
button = tablet.addButton({
|
||||
icon: "icons/tablet-icons/clap-a.svg",
|
||||
text: "Destroy OBJ",
|
||||
sortOrder: 13
|
||||
});
|
||||
|
||||
button.clicked.connect(destroyBabies);
|
||||
|
||||
Script.scriptEnding.connect(function () {
|
||||
button.clicked.disconnect(destroyBabies);
|
||||
if (tablet) {
|
||||
tablet.removeButton(button);
|
||||
}
|
||||
});
|
||||
|
||||
/* var entityID = Entities.addEntity({*/
|
||||
//type: "Box",
|
||||
//position: Vec3.sum(MyAvatar.position, Vec3.multiplyQbyV(MyAvatar.orientation, { x: 0, y: 0.75, z: -5 })),
|
||||
//dimensions: { x: 0.5, y: 0.5, z: 0.5 },
|
||||
//dynamic: true,
|
||||
//collisionless: false,
|
||||
//userData: "{ \"grabbableKey\": { \"grabbable\": true, \"kinematic\": false } }",
|
||||
//lifetime: 300 // Delete after 5 minutes.
|
||||
//});
|
||||
|
||||
/*var actionID = Entities.addAction("slider", entityID, {*/
|
||||
//axis: { x: 0, y: 1, z: 0 },
|
||||
//linearLow: 0,
|
||||
//linearHigh: 0.6
|
||||
/*});*/
|
||||
}());
|
Loading…
Reference in a new issue