I’m trying to implement 3rd person movement in my project. Could you look at my PG and help me to fix one thing?
When I press W key, the mesh does big step forward and after that moves smoothly as I expect. When I release W key, the mesh does big step backward and after that stops. It also works in that way with A, S, D keys. Looks awful and not natural.
just have a acceleration value that you add to a “speed” variable then scale your vector by the speed variable.
Add the acceleration to the speed variable on key inputs (to a certain max) then when there is no input multiple the speed by like 0.86 or something and continue to always displace the positions based on the speed and last input vector.