How to measure a vehicle with a high accuracy with mm?

Why would a stepper setup like what is on a 3d printer work? It would be fairly accurate if tuned properly. And of course you would have to have a switch to home it.