How to deal with fast-moving gaze origin

Hi,

I’m trying to make a flight simulation with Unity & HTC Vive pro eye 2 & Tobii SDK.

In the scene, I wanted to record the eye tracking data about which one has focused on every frame.
Almost everything works well, however, one issue was occurred when I see near objects such as cockpit information.

I found that the reason for this issue was, as my aircraft fly about 40m/s in Unity, the gaze origin data was not exactly matched with the camera position.
I thought that this issue could be resolved with some modification in updates method, however, I’m finally frustrated in the end.

As I’m one of beginner in Unity, I want to ask how can I solve this problem!
Thank you in advance!!

Maybe try LateUpdate?

Thanks, but the LateUpdate does not work for the eyetracker. :frowning:

I would try the “beginContextRendering” callback if you are the using URP–the final render position is updated just before rendering to reduce latency so it may be available then. Maybe OnPreRender or OnPreCull for Built-in.

1 Like