How to add a directional constraint on a NavMesh ?
Hi ! For now I used the high-level NavMesh building components to force cars to use roads and humans to use sidewalks but I need to force my car
agents to use only the right side of the road. Do you know a good way to do that ?
Not sure if a good solution exists for this problem... Not even sure if it's possible to solve this with navmeshs. How large and random will your street system be? is it important what route the cars take or are they just environment with random assigned targets?
Your answer
![](https://koobas.hobune.stream/wayback/20220612211732im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Problem with NavMesh 0 Answers
How to set boundaries for A.I. in a Navmesh? 0 Answers
=> How to Avoid NavMeshAgents Clumping Up Together?! <= 1 Answer
Navigatin Mesh agent works for ~10 seconds, then starts moving sporadically 0 Answers
Have players NavMeshAgent ignore Enemy NavMeshObstacle carving 0 Answers