need help with moving a horse

Hi everyone ,

i am sai, and i am learning unity now.

i have few doubts. i want to move a horse in other words animate a horse and make it gallop on a certain track .

i am using the animation tool that unity provides but i feel a script would be very good instead of using the animation tool. can anyone suggest me or help me in making the horse move.

all what the horse has to do is keep running on its own once i play the scene.

It’s easy. Hang a carrot on the end of a fishing rod and tape the rod to the horse’s head. He’ll now run towards the never-closer-getting carrot. :wink: [/lameJoke]
The typical way of doing this is animating a walk cycle for your horse in your 3D application (Max, Maya, Blender), then calling that through a script. For example:

function Update(){
     animation["Gallop"].Play;
}

Or with a nice ease-in:

function Update(){
     animation.CrossFade("Gallop");
}

Note the difference in [ ] and (). Good luck! =)