Hi,

if you are looking for a general "progress" indicator, use the the distance from the player compared to its starting point ( it can be an actuall empty gameobject), and that distance is very representative of the true distance travelled without having to consider movement noises such as back and forth, jumpts, etc etc.

If you are looking for a precise pedometer, the distance is the sum of ALL delta movements. so have an FSM that every frame adds the delta movement to a total distance variable, and that will be the true travelled distance. for this use the action "get position" and substract it from the previous position, then use the action "Get vector length" to find out that distance between the current position and the last position, add that length to the total distance variable, and finally inject the current position to the previous position variable. All this in one state basically.

If you have trouble understanding or implementing, let me know.

Bye,

Jean