I’m currently trying to determine the location density of player game objects so that my ai picks player game objects that are isolated.
Currently i’m doing a linecast between each player object and getting the distance, but this seems to be fairly expensive.
What would be a better way of getting game obejct location density?