using
function OnTriggerEnter(collision : Collider){
if(collision.tag == "Player")
{
Debug.Log("Interacted!");
}
}
It doesn’t register the collision even though I have set the object with this script to have a rigidbody and set it to “Is Trigger”. The player is tagged with the exact same tag and also has a rigidbody added to it (there is indeed a mesh with which to interact with). For the record, the object with this script has an invisible collider box around it with a smaller, visible box inside that also has a rigidbody but is NOT a trigger.