precise fix on HUD to avoid left/right eye offset
This commit is contained in:
+4
-4
@@ -59,7 +59,7 @@ var positionsCurated = [
|
||||
offsetWatersimPosition: "-124.32254 0.78377 -46.41836", // TODO use
|
||||
hotspots: [
|
||||
// done via the AFrame inspector then pasting here, then regex
|
||||
"-36.50124 3 18.52317", "-15.31684 3 26.46878", "-42.59553 3 32.46203", "12.26538 3 38.90027", "-0.69236 3 67.76877", "-49.01323 3 48.21272", "-79.56723 3 34.81311", "-94.0 3 25.0", "-19.2 3 60", "-86.58562 3 -5.73462", "-58.70357 3 8.36794",
|
||||
"-36.50124 3 18.52317", "-15.31684 3 26.46878", "-42.59553 3 32.46203", "12.26538 3 38.90027", "-0.69236 3 67.76877", "-49.01323 3 48.21272", "-79.56723 3 34.81311", "-94.0 3 25.0", "-19.2 3 60", "-86.58562 3 -5.73462", "-58.70357 3 8.36794", "-12.76258 3 51.56152", "-77.05149 3 23.39755"
|
||||
],
|
||||
visualMarkerPositions:[
|
||||
// {rotation:"0 -90 0" , position:"54.31842 -0.21946 -335.17472"},
|
||||
@@ -464,7 +464,7 @@ AFRAME.registerComponent('hotspots', {
|
||||
var pointEl = document.createElement("a-gltf-model")
|
||||
pointEl.setAttribute("gltf-model", "Visuals/ASSETS_3D/AA_Hotspot.glb")
|
||||
pointEl.setAttribute("model-opacity", .3)
|
||||
pointEl.setAttribute("scale", "50 50 50")
|
||||
pointEl.setAttribute("scale", "50 50 50") // could scale up or down, compromise
|
||||
pointEl.setAttribute("teleport-via-cursor", true)
|
||||
pointEl.setAttribute("position", h)
|
||||
el.appendChild( pointEl )
|
||||
@@ -534,8 +534,8 @@ AFRAME.registerComponent('hud', {
|
||||
pointEl.setAttribute("position", "0.4 0 -0.9")
|
||||
el.appendChild( pointEl )
|
||||
var backgroundModelEl = document.createElement("a-gltf-model")
|
||||
backgroundModelEl.setAttribute("scale", "40 50 50")
|
||||
backgroundModelEl.setAttribute("position", "0.5 -0.4 -1.1")
|
||||
backgroundModelEl.setAttribute("scale", "30 40 40" )
|
||||
backgroundModelEl.setAttribute("position", "0.3963 -0.33879 -0.91545")
|
||||
backgroundModelEl.setAttribute("gltf-model", "Visuals/ASSETS_3D/AA_Timer.glb")
|
||||
el.appendChild( backgroundModelEl )
|
||||
this.ring = ringEl
|
||||
|
||||
Reference in New Issue
Block a user