Search Unity

Centralizing waipoints on a road with Nav Mesh.

Discussion in 'Navigation' started by Sharpin, Jul 12, 2019.

  1. Sharpin

    Sharpin

    Joined:
    May 26, 2019
    Posts:
    1
    Hi all.

    I have a road with nav mesh on which player can make waypoints for character. I'm trying to make something like map with waypoints and drawn path to it. Player can create waypoint on the road and line renderer draws the path. The problem is that i don't know how to set every created waypoint in the middle of the road, so it would look smooth and nice. Any ideas :) ?