-
Greetings fellow modellers. Problem: I'm having some issues with the agent colliding at the 'spawn point' - hence the 'spawn point congestion' problem. Is there a solution where i can maybe put the agent in a temporary queue and 'moveto' agent to the spawn point when the 'spawn point' grid is empty? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
A quick hack: you can mark the agent state to be "in queue", which you can set it so that it prevents them from being in collision with other agents. You remove the agent from the grid, but keep them in the scheduler. When it's the agent's turn in the queue, you can put them back into the grid at the respawn point. |
Beta Was this translation helpful? Give feedback.
A quick hack: you can mark the agent state to be "in queue", which you can set it so that it prevents them from being in collision with other agents. You remove the agent from the grid, but keep them in the scheduler. When it's the agent's turn in the queue, you can put them back into the grid at the respawn point.