Another way to check if player is in sphere/box area than using triggers

I’m currently making my own reverb zone and i don’t know way how to check if the player is in specific radius / range. The reason why i’m not using OnTriggerEnter etc. is there is no blending, so if two triggers are on top of each other, it will not call the triggerenter function. So i just need way to check if player is on range.

Vector3.Distance can tell you how far apart two positions are. If you attach the script to the reverb zone object you can check “transform.position” and your players transform position and see how far apart they are.

Maybe something like this:

public class MyZone : MonoBehaviour
{
    public GameObject ThePlayer;
    public float Radius;

    void Update()
    {
        float dist = Vector3.Distance(ThePlayer.transform.position, transform.position);

        if (dist < Radius)
        {
            // the player is within radius distance of this object
        }
    }
}