Navigation Pathfinding around splines

Hello everyone

I’m working on something that requires vehicle path finding. Currently my AI vehicle just drives as a player would (anywhere), but I’d rather them follow the roads. I figured the easiest way to do this would be to reduce the path cost in any area which has a spline component within it.

What is the best way to do this. I see on static meshes I can set the NavArea to something custom, does a negative path cost mean AI will focus on it more? Also is there any way to limit it to certain classes?

Thanks

Take a look at this question, it may help you.