Simply put, I’m trying to get a tower to detect creeps for a tower defense game. I’ve been wondering if there might be something faster than Physics.OverlapSphere. Particularly when there’s the potential to have some 50 towers checking for collisions with possibly hundreds of hits per tower. Is there another function I’m missing that would return only a single collision?
One other option I had considered was only running an OverlapSphere when it has no target to acquire one, and then simply keep shooting it until it dies or goes out of range. Obviously, a new OverlapSphere check would be run at that point to get a new target.