Calculating speed of an inanimate object.

Hey, I left the title kinda fun. But I’m having problems calculating distance.

Basically, I have a vehicle. But it doesn’t move. I have a track manger that slides the track past you to give you the impression of movement, (Steering however is clamped and tied to the vehicle)

But the track pieces do.. But then they are recycled and moved to the front, so the track is endless. I don’t kill and spawn to save on performance. It’s just recycling with variables.

With all that being said, how the hecckers do I calculate speed in kmh or distance traveled. xD.

I’ve spent the better part of today trying to figure it out, Anyone have any ideas?

The best options I have atm is to basically…Make it up xD. just make up my own units and get them to feel right…

Heres a screenshot to hopefully help with what Im working with.