How can I create a speedometer using Blueprints?

Hi, I’m looking forward to create a speedometer in blueprints. Any idea on how to realize it?
Thanks

Hi,

You could check pawn position every frame and divide the distance walked each frame by the frame time.
Check the following BP. (Save image to your desktop to see something :))

You might wan’t to smooth everything by doing this calculation every 500 ms for example.

Cheers,

Thank you so much!

Hey, I noticed today there is a much easier way to do this, by using Get Velocity on the Player Pawn. You will then be able to get velocity vector which is in cm/s. You can just apply the same conversion I show above.
Cheers,