From b9b75e72544ccfdefcacb998ae8c570d20c591c0 Mon Sep 17 00:00:00 2001 From: tony056 <ytung@mozilla.com> Date: Wed, 20 Jun 2018 16:58:29 -0700 Subject: [PATCH] set curveShootingSpeed to 12 to increase the teleport distance. --- src/hub.html | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/src/hub.html b/src/hub.html index b3916dd12..b7528fc6b 100644 --- a/src/hub.html +++ b/src/hub.html @@ -18,7 +18,7 @@ <script src="https://cdn.rawgit.com/aframevr/aframe/3e7a4b3/dist/aframe-master.js" integrity="sha384-EaMOuyBOi9ERV/lVDwQgz/yFWBDWPsIju5Co6oCZZHXuvbLBO81yPWn80q0BbBn3" crossorigin="anonymous"></script> <% } %> - + <!-- HACK: this has to run after A-Frame but before our bundle, since A-Frame blows away the local storage setting --> <script src="https://cdn.rawgit.com/gfodor/ba8f88d9f34fe9cbe59a01ce3c48420d/raw/03e31f0ef7b9eac5e947bd39e440f34df0701f75/naf-janus-adapter-logging.js" integrity="sha384-4q1V8Q88oeCFriFefFo5uEUtMzbw6K116tFyC9cwbiPr6wEe7050l5HoJUxMvnzj" crossorigin="anonymous"></script> </head> @@ -282,7 +282,8 @@ drawIncrementally: true; incrementalDrawMs: 600; hitOpacity: 0.3; - missOpacity: 0.2;" + missOpacity: 0.2; + curveShootingSpeed: 12;" ></a-entity> <a-entity id="player-camera-reverse-z" rotation="0 180 0"></a-entity> </a-entity> @@ -300,7 +301,8 @@ drawIncrementally: true; incrementalDrawMs: 600; hitOpacity: 0.3; - missOpacity: 0.2;" + missOpacity: 0.2; + curveShootingSpeed: 12;" haptic-feedback body="type: static; shape: none;" mixin="controller-super-hands" @@ -322,7 +324,8 @@ drawIncrementally: true; incrementalDrawMs: 600; hitOpacity: 0.3; - missOpacity: 0.2;" + missOpacity: 0.2; + curveShootingSpeed: 12;" haptic-feedback body="type: static; shape: none;" mixin="controller-super-hands" -- GitLab