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

Bad Funneling on Nonoptimal path [NavMeshQuery]

Discussion in 'Navigation' started by Dinamytes, Apr 25, 2020.

  1. Dinamytes

    Dinamytes

    Joined:
    Nov 3, 2016
    Posts:
    51
    Hey guys, the next example shows a not so Straigth path from one place to another, the problem is the funneling does not work correctly because NavMeshQuery returns the polygons from Tiles in the left, happens more frequently on low Tile Size.
    This doesn't happen with NavMeshAgent and i don't think raycasting on each Portal left and rigth side is the solution. Has anyone encountered this problem?