how do I tell if colliders are touching from a main script

I want to tell if two colliders are intersecting from a main script. Both colliders are on the bones of an animated figure. I have set the colliders isTrigger=true;

I’ve looked at the docs for OnTriggerEnter, but isn’t it dependent on what GameObject the script is on? Do I have to make a separate script with OnTriggerEnter for each gameObject that has a trigger? Or is there some way to look for trigger events from the main script?

You can have the OnTriggerEnter (and exit) functions use SendMessage to the main script which would keep track of such things. You can have a public field on your objects’ script which says which object(s) are colliding, and read that from the main script.