Hello again,
Let’s say we have a bunch of agents moving randomly around the same area.
Quoting the documentation:
float AgentTimeHorizon
Max number of estimated seconds to look into the future for collisions with agents.
As it turns out, this variable is also very good for controling agent avoidance priorities. Agents with lower values will avoid other agents less and thus you can make ‘high priority agents’ by giving them a lower value.
float Priority
How strongly other agents will avoid this agent.
Usually a value between 0 and 1. Agents with similar priorities will avoid each other with an equal strength. If an agent sees another agent with a higher priority than itself it will avoid that agent more strongly. In the extreme case (e.g this agent has a priority of 0 and the other agent has a priority of 1) it will treat the other agent as being a moving obstacle. Similarly if an agent sees another agent with a lower priority than itself it will avoid that agent less.
Does this mean we should set different agentTimeHorizon and priority values for different agents in order to avoid collisions easier?
Thank you!!