Get list of objects inside the given radius

Hello,
Is there any function that I can use to get the list of objects in the given radius?

Thanks,
Altaf

Out of curiosity, what are you using this for?

Could it be achieved with a trigger sphere?

-BSpline

I want to use it for AI. For obstacle avoidance.
I used RayCast. but its not enough. I need to navigate away from the object as long as it is in my FOV ( say 30 deg). If I can get hold of all the objects which are within a radius of 100(say), then I can check if they are in my FOV navigate accordingly. WayPoints is not an option as obstacles in my scene are dynamic.

Physics.OverlapSphere function returns an array with all the colliders inside the sphere

this is exactly what i wanted. Thanks