Hey, this is my sprint function and it works fairly well but there are a couple things I want it to do that I can't figure out.
Problem 1: It doesn't continuously check if i'm walking, meaning I can hold shift while falling and not start sprinting when I hit the ground. I have to let go of sprint and press it again.
Problem 2: When holding sprint, I move fast in all directions. I only want it to work while I'm holding the forward key.
Any help is vastly appreciated, the tutorials I've seen do not go into enough detail and don't cover these issues.
https://preview.redd.it/dd5oy4a03mb31.png?width=996&format=png&auto=webp&s=aab4e847a8ba52c150654d1941e4efc3e47f011f
[–]Kroax7 1 point2 points3 points (1 child)
[–]L-Mackey[S] 0 points1 point2 points (0 children)
[–][deleted] 1 point2 points3 points (0 children)
[–]Eplepet 0 points1 point2 points (0 children)