Camera Rotation

Hello Unity3D.I have a question about camera movement.How can i make it that whenever my character hits another character the camera rotates to a 90 degrees on the y-axis so that it looks at my player attacking the opponent?Then when there hasn’t been any collision detected in the past 3 seconds the camera rotates back to the original spot before the attack on the other player?If anyone knows how to do this?Can you please tell me how?

Heres what i got so far
#pragma strict

 var sceneCam : GameObject;
 sceneCam = GameObject.Find("MainCam");

var impact : AudioClip;

function OnCollisionEnter (hit : Collision)
	if( == "Player"){
	sceneCam. transform.Rotate(0,90,0);

I would use an animation for this problem. Make an animation for the camera and have it activate when you collide with the other character/enemy.

you can try use Unity - Scripting API: Transform.RotateAround (RotateAround)