Getting 2D gazepoints
Hello,
I am currently working on a project where I have disabled the orientation and the position of the FOVE and have the user facing a wall. I want to get the X,Y coordinates for each eye of where the user is looking on the wall. I am not sure what the best way to do this would be which is why I am asking for some advice. Should I use the unity data collector to get their gaze vectors and do some trigonometry on these values to get the points? I read raycasting would be a good idea here, but I am not too sure how to do this with the eyetracking, could anyone guide me in a direction they think is best? Thanks!
-
Really sorry for necro-ing but in case it helps someone: the Unity function Camera.WorldToScreenPoint() does just that; you can get the point by getting the eye ray and then using Ray.GetPoint().
Please sign in to leave a comment.
Comments
2 comments