So I’m trying to create a first person swinging game by following pretty much all the tutorials on youtube about swinging mechanics and grappling guns (my main source is Dave / GameDevelopment) and I’m having this issue where if I try to swing to the right my character’s speed suddenly drops to almost zero, making the swinging feel very annoying.Every other direction is fine, it only happens when I try to swing to the right. I’ve noticed that it happens almost instantly when I look down, but I have absolutely no clue where my problem could be. I’ve been reviewing my code and game objects for a week now and couldn’t find the source of the problem. I’d really appreciate it if y’all could help me out. Let me know if I should provide any more info.
The player movement script that’s attached to the Player: https://pastebin.com/RVd7wvwT
The swinging script, that’s also attached to the Player: https://pastebin.com/dgixFnhi
Video of the speed drop: Imgur: The magic of the Internet