Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Question Manually drawing a lower-cost path

Discussion in 'Navigation' started by oliver_unity892, Apr 19, 2023.

  1. oliver_unity892

    oliver_unity892

    Joined:
    Oct 28, 2019
    Posts:
    91
    Hi
    Is there a way to draw (and by that I mean to draw on the screen, perhaps via curves or dragging an object) a navmesh path in the scene?

    I have multiple points and I want the player to move between them using a navmesh path which I need to put down in different places depending on where the waypoints are.

    I can't see any particular assets that can help, but I'm happy to look.

    I did think about using bezier curves as paths and following those but the variations mean it won't be as easy as having the navmesh do the work.

    Any suggestions that can help?

    Olly