- Home /
Question by
EinfachFinn · 5 days ago ·
scripting problemcollisionnavmeshnavmeshagentdetection
Making a queue for NavMeshAgents
Hey, Im currently working on a game and I want to make a queue for my NavMeshAgents. Basically it should check if an object is at the first location. If it is, the Agent should go to the second place in the queue. If the second place is not avaiable the agent should go to the third place and at the moment the first Agents goes away, the second Agent should go to the first place, the third Agent should go to the second place and so on. I hope its understandable what I mean. I started writing some Pseudocode, how would you do this? Is there an alternative than doing it with some GameObjects? Thanks in advance! Finn
screenshot-2022-06-07-235504.png
(84.6 kB)
Comment