I am working on an FPS game, where I try to control the camera changing the MouseLook.cs script (the same idea of Sai). I am using almost the same gazeLook script and I got the problem with the rotationY (NaN). Actually, I checked the gaze coordinates values and they are in the range [0, 1]. I think the problem comes from the line (rotationY += gazeY * sensitivityY;), if I use (rotationY = gazeY * sensitivityY;) and I don’t get the problem of NaN, but of course the game does not work properly. Do you have maybe one idea of what I ding wrong or how can I solve the problem?.