I have a simple enough project with a character controller and cinemachine free look camera. The camera works fine on windows 10 but on Linux (Ubuntu Mate) the mouse hits the edge of the screen and then it just stops rotating. This is happening in both play mode and when the project is built.
Is this a bug or do I have to do something extra to make it work on linux?
Cinemachine is just reading the input system with Input.GetAxis(“Mouse X”). If you make a script that does that and logs the result, what happens when your mouse hits the edge of the screen? If you stop getting input, then this is a question for the input forum.
This is an unfortunate limitation we’re running up against with X. X does not give mouse deltas, only absolute positions. We’ve tossed around some ideas for addressing this in the editor, but it’s not as simple as it sounds
If anyone in the community DOES know how to get a mouse delta in Linux using pure GTK or X, feel free to share. We are avoiding reading input directly as that would make our maintenance story much harder.
Hi. I think I’m hitting this same problem. I have a build that works fine on Windows, but on Linux the free look camera (I’m using CM with the Starter Assets’ third person controller) either fails to move or jumps around madly.
Any idea of a workaround ? Can’t I just store the mouse position in an Update(), get the difference with a new position and pass the delta myself when doing onlook() ? How would I go about that ?