Question by
help_seeker · Mar 04, 2017 at 11:20 AM ·
unity 5
Is there a way to restrict the two navmesh agents two follow to different paths?
Navemsh agent : I want to restrict two different navmesh agents to follow two specific paths. is it possible? if yes please help then
Comment
Answer by hexagonius · Mar 04, 2017 at 12:00 PM
Check out area masks. They are defined for parts on the mesh and restrict agents to them:
https://docs.unity3d.com/Manual/class-NavMeshAgent.html
https://docs.unity3d.com/Manual/nav-AreasAndCosts.html