Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document AgentProximityMap #119

Open
verdie-g opened this issue Jan 10, 2023 · 1 comment
Open

Document AgentProximityMap #119

verdie-g opened this issue Jan 10, 2023 · 1 comment

Comments

@verdie-g
Copy link

verdie-g commented Jan 10, 2023

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.

@DejanM4
Copy link
Collaborator

DejanM4 commented Jul 10, 2023

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).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants