❔ Nav Mesh Agent doesnt avoid obstacles
Hey, here there's a cross which indicates where my bot have to go
I set a nav mesh obstacle on the barrier.
Why doesnt my agent avoid obstacles ??
4 Replies
The information given to us isn't really much to work with. Can you go further into detail and show the relevant code?
Also, that sounds like Unity. It might be worth a shot to ask in the unity discord
$unity
I search a random point on the nav mesh :
Then I set the direction of my agent to this point :
Here is my pathfind class :
Was this issue resolved? If so, run
/close
- otherwise I will mark this as stale and this post will be archived until there is new activity.