From cec2692c77e3874fac44d0889c578ea3d846cc9c Mon Sep 17 00:00:00 2001 From: Dante Ruiz Date: Sat, 7 Jan 2017 00:06:42 +0000 Subject: [PATCH] fixed issues --- scripts/system/libraries/WebTablet.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/scripts/system/libraries/WebTablet.js b/scripts/system/libraries/WebTablet.js index 5bea6d9923..27ab0000e6 100644 --- a/scripts/system/libraries/WebTablet.js +++ b/scripts/system/libraries/WebTablet.js @@ -97,6 +97,7 @@ WebTablet = function (url, width, dpi, hand, clientOnly) { this.homeButtonEntity = Entities.addEntity({ name: "homeButton", type: "Sphere", + collisionless: true, localPosition: {x: 0, y: HOME_BUTTON_Y_OFFSET, z: 0}, dimensions: {x: 0.05, y: 0.05, z: 0.05}, parentID: this.tabletEntityID, @@ -171,3 +172,8 @@ WebTablet.unpickle = function (string) { tablet.__proto__ = WebTablet.prototype; return tablet; }; + +-WebTablet.prototype.getPosition = function () { + return Overlays.getProperty(this.webOverlayID, "position"); + } + \ No newline at end of file