I am getting the actor location and adding 1 unit to its X axis for each tick so that it keeps moving along that vector.
The problem is that the actor’s speed while it moves is not constant, it slightly changes (due to framerate I guess).
I remember that I had to do something with delta time or delta seconds to make the movement speed consistent and unchanging but for the love of me I cannot recall how.
Interesting. Would you mind bringing up your console using the ~ key and then typing in stat FPS?
Let me know what your FPS is at currently. It might also be worth setting t.maxfps to something like 30 or 60 depending on the power of your PC to see if that helps you get smoother movement.
So far limiting at 30fps seems to be doing the trick. Thanks man! I’ll keep an eye on possible changes but for now this seems to fix it and since the project is an old school 2d 30fps is all I need.
hey there, it doesn’t work for my character. any help please?
my character is walking inplace and when i press w it can’t move forward.
please help me with any hint.