- Home /
Question by
nisi-software · Sep 17, 2011 at 07:12 PM ·
meshroadstraffic
Finding center and/or lanes of road mesh
I've been fighting for something a little while that would be really helpful in traffic paths if I could figure it out. Basically I'm trying to get the center and possibly lanes of a road mesh. This could really apply to anything that has a mesh but would be really helpful with roads and traffic waypoints. Here's a sample of what my current road mesh in scene view looks like:
As you can see the vertices are all over the place and it's not consistent on the pattern. I know this is not an easy task but it would be really helpful in getting what I need accomplished. Has something like this even been done before?
Any tips or advice is appreciated. -John F.
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220612214520im_/https://answers.unity.com/themes/thub/images/avi.jpg)