Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.

Discussion Looking forward to adding the function of drawing AI pathfinding areas to the terrain

Discussion in 'Editor & General Support' started by hixiaojidunmogu, Jul 4, 2023.

  1. hixiaojidunmogu

    hixiaojidunmogu

    Joined:
    Sep 7, 2021
    Posts:
    1
    NavMeshAgent Component

    Looking forward to adding the function of drawing AI pathfinding areas to the terrain,I think it's a great feature, of course I can't assess the challenges of implementing it, what do you guys think?
    For example, I have a large terrain, and I just want to draw a path in a certain area as the AI walkable area. I used to use a cumbersome way: to surround a piece by constantly placing non-walkable obstacles around it. Walkable area, so looking forward to having a brush-like tool to draw directly on it would be awesome.
     
  2. KillDashNine

    KillDashNine

    Joined:
    Apr 19, 2020
    Posts:
    451
    Why don't you just use gizmos to mark whatever you want to see in the Editor? Add a custom inspector to your AI component that uses your AI area/path and mark it with a gizmo.
     
    Kurt-Dekker likes this.