Game Object following Tobii EyeTracking Data (2D)?

I’m trying to attach the gaze plotted data created by running the Tobii Eye Tracker - but I’m having trouble converting the pixel (computer screen) coordinates to the corresponding position on the screen (in-game camera). I’m attempting to have the player’s sprite follow wherever their eyes look on the screen. I’ve tried a few things (such as creating a ratio to scale down the coordinates), but to no avail.


You should try using the latest Tobii Eye Tracking SDK for Unity.

EyeTracking.GetGazePoint().Screen (or .Viewport) is what you are searching for.

Soon we are going to release an update for Unity SDK.

More info here - Forums for Tobii Eye Tracking SDK development