I was wondering on how to use a trigger so that when an object hits a specific box collider with the trigger it does something different.
maybe something like using the Collider.OnTriggerEnter
monobehavior to get the collider of the specific box and use Object.name to get the name of the collider like this:
void OnTriggerEnter(Collider myCollider)
{
if(myCollider.name == "the specific box's name")
{
DoSomething();
}
}