Toggle walk/run ground speeds

Neoga
Sun, 22 Nov 2015 18:35:39 +0000
World Creation

I added the following to switch between walk run, its identical to others out there except for the addition of a flip/flop so you don’t have the key down.

It works as desired except the slower I go the more it looks like the character is iceskating (you are still traveling forward between steps… What am I missing? (Yes there are default values in the speed variables. You don’t move without them). Does velocity need to be tied into this?
Thanks in advance

2 posts - 1 participant