Distance Travelled Score

I’m looking for a simple method to track the distance that the player/pawn has travelled.

Important to note that my project is a rolling ball sphere game that moves on all axis (as appose to a endless runner that typically tracks forward movement only)

Any help on this would be highly appreciated.

So, my first impulse is to add the axis values together to get some kind of travelled distance.

Create a variable to store the distance.
On Event Tick you could get all your movement input axes and add them to the storage.
Next, IF vector length of get velocity != 0, set storage variable to the result of the addition.

Haven’t tested it all too much, but sounds like a start.

The logic is, if your character/ball moves (so has velocity), it counts the axis values, which results in a measurement of distance.
You could probably also count the vector of your velocity, in case you want it to be independent of the movement input. You’d want that, if you also want to count distance that is not driven by movement input.
Physics driven movement for example.

https://blueprintue.com/blueprint/z5hfd8yk/

EDIT:
Velocity based version (better solution in my opinion):

https://blueprintue.com/blueprint/zxn6po7o/

Hi & thanks for the reply, I have not tested this out yet but I will as soon as I can.

Thanks Again.

Found this in the Math_Hall map from the Content Examples Folder -