I saw the 3D Shooter Game template made by Captain Oblivion, and since I’m making a 3D platformer sort of game I thought it’d be a useful resource to base my character movement around. I got to work recreating it, retyping most of it exactly, but making my own changes as well. I changed the way the script handles keyboard/mouse inputs because Captain’s wasn’t working for some reason, but other than that it’s been pretty minor changes like names of variables. All the math is the same, but strangely when the player starts moving, he doesn’t stop. Ever. You can change direction, but you can’t stop moving. I have no clue why this would be, and I’m still pretty new to programming so I 'm not sure what the problem is. Oh, and I’m using a modified version of Mobius’s 3rd person camera too, but that shouldn’t affect this.
Blend File: https://www.dropbox.com/s/b78c72x5t0mmrgy/ambitiousproject.blend
The script that the problem is in is called Control and I think it’ll be open when you open the .blend file
Thanks in advance!