Animation trigger?

I have a shutter like door which I have animated in 3ds max, i have imported this into unity and split the animation so i have an idle state starting from frame 1 ending on frame 2. I also have a open animation starting frame 2 to 100.

I have a cube box that i want to be the trigger for playing the animation, ie once the first person camera hits the box with the mouse the animation will play.

Please can anyone help me on how I should go about doing this?

Thanks

The first person camera hits the box with the mouse?

While the thought of the camera GameObject or some script with the ability to reach out into the world to grab the mouse and then use it to physically assault a box sounds like good times, I'll answer this question assuming that you meant something like "How do I trigger an animation when the mouse clicks on a box?"

clickAnimation.js (Attached to the box)

var door : GameObject; //Assign this in the editor or in Start, find the door

function OnMouseUp() {
    door.animation.Play("Open");
}

var Animator : GameObject; //Assign this in the editor character with animation

function OnTriggerEnter(){
    Animator.animation.Play("Open"); // name the animation to be played
}


Attach script to empty cube. This method is if you dont want to add a mouse click :)