Hi guys
I have to check the distances of each of the vectors (saved in a array) to the position of character, I would like to know if its possible to include in the calculation only the vectors that are within a area specified, in the same way that work triggers and save resources hardware.
The situation is that by checking each distance of all vectors in the array makes the frames fall, so I need only to include in the calculation of the vectors that are within the indicated area. I would to see if you guys can help me with this, I would be very grateful.