I have this code but it's not working correctly. And I wonder why the gun rotates more the closer I move my mouse to the character (see video link)
I have tried tweaking the values but I can't seem to get the right one
Here is the setup of my character:
