Jump to content

Gaze Tracking On UI WorldSpace in Unity


Recommended Posts

Posted

Hi everyone,

 

I am trying to make a simple UI Interface where I have a small cursor follow the user's gaze on a World Canvas following the camera, but I am having some trouble pinning down the exact coordinates / directions to do this. I am using the following to obtain both origin and direction of combined eye gaze:

verbose_data.combined.eye_data.gaze_origin_mm * 0.001f;

verbose_data.combined.eye_data.gaze_direction_normalized;

 

For other purposes I am also recording at the full 120Hz offered by the Tobii tracker, so ideally I would like to work at the same sampling rate (but I will smooth the position every game frame).

 

Do I need to make some sort of conversion from the verbose_data structure? I am currently lost on how to solve this, any help would be greatly appreciated!

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...