I was wondering, is there perhaps a way to do a radial raycast. Say for example, you get to near an enemy and it gives chase no matter which way you approach from.
Or is there another, better way, to detect things in a circle around the object in question.
sphereoverlap is likely what you are looking for.
but commonly its easier to handle the world with a “block based approach” and just check the blocks within interest range (and have objects register themself in their block and move that registration as they change it)