Hello everyone. I have a problem with the mouse accuracy in Unity and I’m trying to figure out why. When using the standard Mouse Look script, I noticed that it is impossible to maintain a good accuracy and control it smoothly. It’s like it “jumps” over pixels, making it not very fun to aim and more difficult to aim at tiny spots than it should be.
I’m trying to do a FPS and get the basics right one step at a time, so accuracy is important. At first I thought it was a issue with my custom setup, models etc. but I reproduced the issue in a seperate Project with nothing but standard assets.
Here is a image GIF showing what I mean in this simplified seperate Project (moved 1px):
Here is also a Webplayer Demo of the Setup you can try it at. Try to aim at the bottles in small increments, like 1px at a time. The problem gets worse the more distance there is between you and the bottles: Play Webplayer Demo
Here is the Unity Asset Package in Case you want to see the Project. Except for the simple Shooting and Crosshair it uses only Standard Asssets (FPS Input and MouseLook): Download Project Files here
The issue has been confirmed on 5 PCs by 3 different people and has upset each one of them…
Things I noticed in testing:
- When reducing Sensitivity of the Mouse Look Script to zero, it becomes 100% accurate, but the mouse is very slow to move around
- Tests with DeltaTime can have a similiar result but, due to the nature of deltaTime, lead to undesirable effects on frame drops where the camera suddenly appears somewhere else
- There are no alternative scripts. I found one “Smooth Mouse Look”, but it did not fix the problem.
- I can’t think of a good way to hide the issue either (put it under the carpet and pretend it’s not there). Even a bullet stray along the center wouldn’t help “hiding” it because players expect if they move the mouse slowly they gain more accuracy, which is not given with this issue especially when you have a center dot showing you where you aim at. Same for a bigger Crosshair dot, the player would still want to accurately aim there and have trouble doing so.
I hope someone has a solution for this.
Thank you for your time and help
Ray