mirror of
https://github.com/Armored-Dragon/overte.git
synced 2025-03-11 16:13:16 +01:00
fixed issues
This commit is contained in:
parent
32938861cd
commit
cec2692c77
1 changed files with 6 additions and 0 deletions
|
@ -97,6 +97,7 @@ WebTablet = function (url, width, dpi, hand, clientOnly) {
|
||||||
this.homeButtonEntity = Entities.addEntity({
|
this.homeButtonEntity = Entities.addEntity({
|
||||||
name: "homeButton",
|
name: "homeButton",
|
||||||
type: "Sphere",
|
type: "Sphere",
|
||||||
|
collisionless: true,
|
||||||
localPosition: {x: 0, y: HOME_BUTTON_Y_OFFSET, z: 0},
|
localPosition: {x: 0, y: HOME_BUTTON_Y_OFFSET, z: 0},
|
||||||
dimensions: {x: 0.05, y: 0.05, z: 0.05},
|
dimensions: {x: 0.05, y: 0.05, z: 0.05},
|
||||||
parentID: this.tabletEntityID,
|
parentID: this.tabletEntityID,
|
||||||
|
@ -171,3 +172,8 @@ WebTablet.unpickle = function (string) {
|
||||||
tablet.__proto__ = WebTablet.prototype;
|
tablet.__proto__ = WebTablet.prototype;
|
||||||
return tablet;
|
return tablet;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
-WebTablet.prototype.getPosition = function () {
|
||||||
|
return Overlays.getProperty(this.webOverlayID, "position");
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue