I know it’s been several months, but I just saw this and forgot to reply (mb), I’m sure you’ve figured it out by now but I still wanted to answer for the people who has the same problem.
instead of input.UserInputType it should be input.KeyCode
Kind of curious, is there a way to return the gun to the starting shooting position with the spring module you used? I’m currently having a rough time figuring that out. Since my recoil is only going up and not returning
this is what it looks like, i’ve tried using lerp to do it but it does not work for me, it could be my bad scripting skills since I’m not really good at it