Documentations icon indicating copy to clipboard operation
Documentations copied to clipboard

Document AgentProximityMap

Open verdie-g opened this issue 3 years ago • 1 comments

In cRPG, we use Mission.GetAgentsInRange extensively. It seems like if the radius is less than the proximity map max search radius it will use the AgentProximityMap. I'm wondering if mappers have to do anything to use that feature. Could you please document that part.

verdie-g avatar Jan 10 '23 20:01 verdie-g

You don't have to worry about the code. There is a distance limit (not a constant number - depends on how large the scene is), and if the check is done below the limit, proximity map system is used (grid search), otherwise, full agent search is used (list search).

DejanM4 avatar Jul 10 '23 13:07 DejanM4