I need to detect the collisions of the units in my RTS.
I was gonna do a radius search in a certain area and check the units in that tiny radius.
If I have a selection of 70 units, its going to be doing this for ALL SEVENTY units.
How efficient is this function? I heard it should be avoided somewhere a long time ago.
Does it go through every object and check to see if they're in the sphere?