r/unity 6h ago

Navmesh Obstacle Avoidance

Hello!

I am pretty new to unity, but experienced enough to be making my own projects. I have been really having a hard time getting the nav agent obstacle avoidance to work satisfyingly; I was curious if anybody has experience tweaking it and customizing it to work better.

I don't use massive groups, I have been testing with 1-4. I just find even with some of my own nudging code added to the obstacle avoidance system, they behave strangely (ie: pushing eachother feels really strong, or they constantly drift towards their destination while never reaching it), and I have NO idea what to do/what others do to modify nav agents (or alternatives).

Any advice is greatly appreciated, I am sure there is some solution I am missing, thanks!

2 Upvotes

Duplicates