- Home /
Choppy first person aiming when holding mouse input
I am making a first-person shooter game in Unity version 2018.1.3f1 Personal. For some reason I am running into a problem that makes the aiming choppy when holding either right or left mouse button, for shooting and ADS respectively. I have tried disabling parts of the script that could be problematic, but the problem persists. I have also tried exporting the game fully to see if it was just an editor problem, but the problem still persists.
Under the Player GameObject, i have an empty object that controls the looking with the camera attached as a child object. As a child of the empty object I have a weaponholder that determines what weapon is held, and as a child of that I have each weapon which each hold their own weapon script. The weapon script contrils the ADS, shooting and recoil of the gun, but disabling it doesn't solve the problem.