Can someone help with my touchscreen movement script please? - move_and_slide() has jittery movement
So I've been working on a 2D Android game, and something weird is happening with my movement. All the Vector numbers seem fine. They aren't jumping around or anything, but for some reason it still looks a little jittery when my player is moving, especially when I run it on my Samsung Galaxy S7.
I scripted a touchscreen analog joystick, and I was thinking maybe because I'm setting the player position based on the stick position relative to the touch position, there might be something going on there I'm not seeing. I know movement with physics bodies should be scripted in _physics_process(delta), but does it matter that the stick position is found in _input(event)? Isn't input handled before physics processes?
A zipped folder of project can be found here --> https://www.dropbox.com/s/qa2pgf3sc3ipwgi/Move_Test - Copy.zip?dl=0
If someone wiser is the ways of Gdscript could point me in the right direction as to what I'm doing wrong, I would be eternally grateful!!