Collison based animation not working

Below is the script we are using to try to get a door to open in our game. When the player hits the box collider on the door nothing happens, and the open print never appears in the log. Any help would be greatly appreciated.

function OnTriggerEnter(collision: Collision)
{
switch (collision.gameObject.tag)
{
case “Player” :
animation.play(“dooropen”);
print (“open”);
break;
}
}

Are you using a character controller? If I remember correctly, they don’t generate collisions for other colliders under normal conditions, only themselves. Try sticking a rigidbody on it as well and see if it helps. The character controller properties and usage should override the rigidbody’s properties.