I have an agent which is trying to avoid others. I'm thinking to give a list of things which is inside of agent's trigger collider with their distance and direction as follows: Code (CSharp): //The list of n-number agents' directions and distance to this agent inside of the exposure radius. List<KeyValuePair<Vector3, float>> directions = new List<KeyValuePair<Vector3, float>>(); How can I do the implementation of update function of this ? Is it a problem that sometimes when there is no one in the collider the list is going to be empty and size will always change ? Is it logical thing to use this list system ? My purpose is to teach avoiding others by using this list as an observation.