Back to the Shapespark home page

Blue circle around white dots in VR mode

スマートフォンでVRモード中に画面の中央に白い点が表示され、止まっていると約3秒後に白い点の周囲に青いサークルが表示され、アングルが移動します。
この約3秒間が長く感じるため1秒に短くしたいのですが、どのように変更すれば可能ですか?
Bundleしたフォルダ内の「walk.min.js」を編集すれば可能だとは思うのですが、できません。分かる方、教えてください。

On a smartphone, a white dot is displayed in the center of the screen while in VR mode, and when stopped, a blue circle is displayed around the white dot after about 3 seconds and the angle moves.
I want to shorten it to 1 second because I feel that this 3 seconds is long. How can I change it?
I think that it is possible by editing “walk.min.js” in the bundled folder, but I can’t. If you understand, please tell me.

The JavaScript viewer doesn’t currently expose a way to modify these times, but we can add it for the next release. Also, if you use a VR device with a controller, the controller can be used to activate the teleport immediately.

ありがとうございます。リリースを楽しみにしています。

Thank you very much. I’m looking forward to the release.

The release is available now, and you can change the speed with the following script in the body-end.html file:

<script>
  WALK.GAZE_POINTER_SHOW_LOADING_AFTER_S = 2.5;
  WALK.GAZE_POINTER_ACTIVATE_AFTER_S = 4.5; 
</script>

The second time must be larger then the first one, so for example, to show the circle one second after  a user starts looking at a point and activate the teleport half a second later, use the following:

<script>
  WALK.GAZE_POINTER_SHOW_LOADING_AFTER_S = 1.0;
  WALK.GAZE_POINTER_ACTIVATE_AFTER_S = 1.5; 
</script>