- Home /
Question by
olkeencole · Aug 31, 2012 at 04:23 PM ·
navmeshagentdirectionnavigationgrid based gamegridmove
Restricting NavMeshAgent to not travel in diagonals
I wanted to ask if anyone had any thoughts on how I could restrict a NavMeshAgent to not travel in diagonals. I'm wanting to simulating a kind of grid battle system, and I only want the AI to go left, right, forward or backwards. Any thoughts?
Comment
No one ? Please guys, I'm with the same problem.
Thanks a lot !
Your answer
![](https://koobas.hobune.stream/wayback/20220613080449im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
How to make the enemy avoid each other 1 Answer
Unexpected Navmesh agent rotation 0 Answers
Navmesh overshoots player 1 Answer
Stop NavMesh Agent from getting stuck 0 Answers