Wheeled vehicle surface detection

Couldn’t you just use the physics material system to do this. You should be able to detect type of surface and then do your friction calculations