Questions tagged [gaze-buttons]

Gaze buttons are buttons that fires a click event (or sometimes a gaze event) when you gaze a while to a button. This are mostly used in VR applications.

10 questions
9
votes
1 answer

How could I create gaze buttons using React VR?

I'm writing an VR application using React VR and would make gaze buttons with a progress bar (or something) to show the user how long he must watch to that button. How could I do that? I'm thinking to use this pseudocode (may be there are some bug's…
H. Pauwelyn
  • 13,575
  • 26
  • 81
  • 144
2
votes
1 answer

HoloLens - UI/Slider and Cursor do not intersect during gaze

I'm trying to use UI/Slider in Unity app for HoloLens. I used the steps described here - Unity UI on the HoloLens So as a result I have following structure: MainCamera properties: SliderCanvas is using MainCamera: Slider…
1
vote
2 answers

Hololens 2 Gaze cursor not executing buttons

We're working on Hololens 2 and have created our own Button design, where we followed a MRTK Tutorial. Now sadly we cannot execute the buttons using the Gaze-cursor in Hololens 2. We are using our own Configurationprofile, but the same is valid when…
Spoon
  • 173
  • 1
  • 2
  • 12
1
vote
1 answer

gaze always execute even after PointExit

I have a problem about my gaze on VR . What I am trying to do is that gaze upon the button I want to select then hide the first gameobject parent then show the second gameobject parent . Now the second gameobject parent will be shown and when I try…
user9804443
1
vote
2 answers

Add gaze buttons to scene using A-frame

Is there a way to add gaze buttons in aframe? Note also for a better experience there must be an little progress bar to know how long the user must look to it. I've looked inside the inspector tools but nothing found that works. In this YouTube…
H. Pauwelyn
  • 13,575
  • 26
  • 81
  • 144
0
votes
1 answer

OnPointerEnter is not being called

I'm trying to animate the button while it is being gazed on. I have got the following code in which I Raycast from a sphere to find the button that it hits. var eventDataCurrentPosition = new PointerEventData(EventSystem.current); …
user6038900
0
votes
1 answer

is there a gaze only (as opposed to click/button input) mode in unity3d google vr sdk?

I am using the google VR SDK (for cardboard) in unity3d but the cardboard i have does not have buttons. Is there a way to enable gaze only mode that treats extended gaze (a few seconds) as a button click? ( i guy in a tutorial video said "you can…
0
votes
0 answers

Unity Oculus gaze pointer- not activated until first controller interaction

The gaze pointer in my Unity project has worked fine last few months, but since maybe the new Oculus SDK, the gaze will not show until any controller event is first triggered since app loaded - like press any button, or do a swipe gesture. Once it…
Rowan Gontier
  • 821
  • 9
  • 14
0
votes
1 answer

Click event triggered two times when gazing to an object

I'm using gaze buttons but when the click event is triggered, the function is executed two times. See code snippet below. var number = 0; document.getElementsByTagName('a-sphere')[0].addEventListener('click', function(){ alert('You\'ve…
H. Pauwelyn
  • 13,575
  • 26
  • 81
  • 144
0
votes
2 answers

how to go from one scene to another scene by gazing an object in unity?

I am developing an application using Unity where I have created two Scene's.if the user gazes at an object in Scene 1 it should go to Scene 2. I have the code below, but I get errors. SOURCE CODE:- using System.Collections; using…