mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 10:07:58 +02:00
hard-code dimensions on home-button so that it doesn't sometimes show-up with the wrong size
This commit is contained in:
parent
f0248275ec
commit
c2d6bf10d2
1 changed files with 1 additions and 0 deletions
|
@ -101,6 +101,7 @@ WebTablet = function (url, width, dpi, hand, clientOnly) {
|
||||||
name: "homeButton",
|
name: "homeButton",
|
||||||
type: "Model",
|
type: "Model",
|
||||||
modelURL: HOME_BUTTON_URL,
|
modelURL: HOME_BUTTON_URL,
|
||||||
|
dimensions: { x: 0.04, y: 0.04, z: 0.02 },
|
||||||
collisionless: true,
|
collisionless: true,
|
||||||
localPosition: {x: 0, y: HOME_BUTTON_Y_OFFSET, z: -0.01},
|
localPosition: {x: 0, y: HOME_BUTTON_Y_OFFSET, z: -0.01},
|
||||||
parentID: this.tabletEntityID,
|
parentID: this.tabletEntityID,
|
||||||
|
|
Loading…
Reference in a new issue