I’m currently creating an infinite runner game, and I would like to show the current speed on the UI.
I cannot figure out how to access this, I’ve tried getting the players forward vector and length, which results in the UI either showing : 0 for not moving and 1 for moving.
I’ve also tested pick-ups that boost speed and traps that slow the player, and the number still stays at 1.
Ahh how obvios! I knew how to get the velocity, but failed to convert it to a float. I never used the ‘vector lenght’ node in my blueprints befor. Now I will always rember it. Thanks!