Reset Animation on Death of Player

I have a part of my level where the player travels across a platform, avoiding obstacles and moving objects in order to reach the end. Should the player say get knocked off and fall to his death, I would want the platform that he was riding to reset to its original position and wait till the player jumps back on for another attempt.

Here is a picture demonstrating what I want to have!

Here is the code I have so far.
I have it to where it waits 3 seconds after the player jumps on to start, but I dont know how to get it to reset the animation and wait 3 seconds after the player jumps on!


var anim : String; 
var animatingObject : GameObject; 

function OnTriggerEnter(other : Collider)
	{ 
		if (other.tag == "Player")
		{ 
			yield WaitForSeconds(3.0);
			animatingObject.animation.Play();
			
		} 
	}

Any help or guidance would be very greatly appreciated!

Let me know if you need any additional info needed to help!

First of all at the start take the cube position in temporary variables and, when needed reset the position of cube, by using cube.transform.position = new vector3(xtemp,ytemp,ztemp);…and then use Animation.Rewind…it will rewind the animation, for syntex and other stuff kindly go to help----->scriptreference------>to animation.rewind… if you found this useful then please mark as right answer so others can Find the working solution easily…Enjoy…Hope it will work best for You…

if Found useful don’t forget to mark

Public Gameobject wooden_Pillar_23;//define this in inspector
Public Animation woodenPillar23_anim;//
void OnTriggerEnter(other:Collider)
{
if (other.tag == “Player”)
{
wooden_Pillar_23.transform.position = new Vector3(825.97,104.6422,1210.79);
animation.Rewind(“woodenPillar23_anim”);;
}
}

[link text][1]

[1]: Unity - Scripting API: Animation.Rewind i was talking about this link…