I am making a racing game that has long, point to point tracks. Placing waypoints for the AI cars by hand is extremely time consuming. I’d like to be able to get each vertex’s transform.position and transform.rotation down one side of the track, so I can create the waypoints and place them on the vertices automatically.
So my question is, how do I retrieve the vertices’ x,y,z global position and local rotation (I’ll need to use this to create offsets, depending on which lane the cars are in).
Cheers