mirror of
https://github.com/overte-org/overte.git
synced 2025-08-10 15:53:28 +02:00
use a new cursor for selection in lobby
This commit is contained in:
parent
f53455ee55
commit
b968f05123
1 changed files with 6 additions and 6 deletions
|
@ -74,15 +74,15 @@ function drawLobby() {
|
||||||
orbShell = Overlays.addOverlay("model", orbShellProps);
|
orbShell = Overlays.addOverlay("model", orbShellProps);
|
||||||
|
|
||||||
// for HMD wearers, create a reticle in center of screen
|
// for HMD wearers, create a reticle in center of screen
|
||||||
var RETICLE_SPHERE_SIZE = 0.025;
|
var CURSOR_SCALE = 0.025;
|
||||||
|
|
||||||
reticle = Overlays.addOverlay("sphere", {
|
reticle = Overlays.addOverlay("billboard", {
|
||||||
|
url: HIFI_PUBLIC_BUCKET + "images/cursor.svg",
|
||||||
position: reticlePosition(),
|
position: reticlePosition(),
|
||||||
size: RETICLE_SPHERE_SIZE,
|
ignoreRayIntersection: true,
|
||||||
color: { red: 0, green: 255, blue: 0 },
|
isFacingAvatar: true,
|
||||||
alpha: 1.0,
|
alpha: 1.0,
|
||||||
solid: true,
|
scale: CURSOR_SCALE
|
||||||
ignoreRayIntersection: true
|
|
||||||
});
|
});
|
||||||
|
|
||||||
// add an attachment on this avatar so other people see them in the lobby
|
// add an attachment on this avatar so other people see them in the lobby
|
||||||
|
|
Loading…
Reference in a new issue