Search Unity

Bug Obstacle avoidance radius is not working when I use Carve option

Discussion in 'Navigation' started by mfatihbarut, Nov 14, 2021.

  1. mfatihbarut

    mfatihbarut

    Joined:
    Apr 11, 2018
    Posts:
    1,060
    Hi ,
    Obstacle avoidance radius is not working in my NavMesh Agents.
    They still use their pivot point for avoidance which really causes problem.
    How can I say "Use your avoidance radius to not touch obstacles" ?
    It respects avoidance radius when navmesh obstacle is not carved but it doesn't when it is carved.
     
    Last edited: Nov 15, 2021
  2. A_Box

    A_Box

    Joined:
    Feb 3, 2020
    Posts:
    62
    It might be like that because you either use obstacle radius for avoidance (less effective but more efficient) or you carve the navmesh.
    After all, if the navmeshsurface gets carved already, why sould you also need an avoidance based on the avoidance radius? (let me know, maybe i'm just failing to see why)

    I'm not sure if that is the case, but that is my take