Hello,
I have two NavMeshAgents: Person and Car. I have my terrain and on it are two navigation areas that I set in the layers; Foothpath and road. I have checkpoints (gameobjects) dotted around the area so that the Person-object can walk around the area. I did the same for the Car. The problem is that sometimes my Car would use the Footpath since that has a lower area cost.
Is there a way to restrict a NavMeshAgent’s walking area?
Thanks