effeciency question

I just started using Physics.OverlapSphere to do some very specfic hit testing. in my case a mortar aoe blast type effect.

anyway i came to the conclusion that by using it i can do some specific collision choices allowing some weapons to pass through objects like other enemies while still colliding with the player.

Is it a good idea to use physics overlap sphere over regular colliders or is it very inefficient to do so?

There aren’t any particular performance issues with Physics.OverlapSphere. If anything, I would guess it is slightly more efficient that using colliders.