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)
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.