I am attempting to be able to make a double tap movement key sprint when in free orbit third person like in gta for example but the problem is when i am sprinting and I press another key and then release on that key my release is stopping my sprint, i am trying to combat that by making a condition on my release that if my velocity/sprint speed does not drop below 520 (sprintstopthreshold variable) then I should ignore the release and continue to sprint but its not working. Whats occuring is that its not even letting me return back to my walk state when i stop moving only way to return back to walk is if I press a movement key really fast and let go. obviously im running into other problems too but those should be easy to fix on my own hopefully
Also now that i think about it, it would probably be nice if it was timer based, it would only stop my sprint if my movement dropped below 520 for longer than a second or so, because when switching directions obviously your speed drops below possibly even 520.
(I have the sprint logic set up for my other movement keys too)
(i would put the release on my canceled IA but it delays the stop for my movement for some reason)

