Pros and cons to using Navmesh Agents over custom-made AI?
Hello everyone, I am working on a game and currently building my enemy AI, but I am starting to wonder if it would be better if I used a navmesh and navmesh agents for AI rather than moving around an enemy with a rigidbody and a collider attached to it? I was curious if anyone who has had experience with it chooses one over the other, and why they have such a preference. Thanks!
Navmesh or A* are cheap performance and quick for path finding. the rest are just extra layer of logic.
Custom AI with rigidbody detection with C# and a bunch of Update script. $$anonymous$$ight significantly harm perfomance if you do not know what you are doing which you do not have any knowledge about subject.
So stick to navmesh and just add some more logic to navmesh agent.
Answer by tormentoarmagedoom · Sep 14, 2018 at 08:49 AM
Good day.
I strongly recoomend to use NAv mesh system, and in that cases where you need some "strange movements or things" use a custom-made movement, but almost all the time NAvMEsh will be perfect, easy, and faster to program and better performance