I've got some issues with my physics, could someone take a look? I need a second pair of eyes.


Just a guy with underdeveloped ideas
Sep 9, 2017
So I've been developing a SA style gameplay system in Unity, I'm having some small issues with the main controller for the player character. The issue seems to be around input, sometimes the player won't move, sometimes they move in the wrong direction and sometimes their velocity seems to reach silly amounts that shouldn't be possible. I think it's a transformation issue taking local input and turning it into world space but I can't find that it could also have to do with quaternions though. here's the source code https://pastebin.com/t83Su3p6