Smooth Animations?

Hey,

I would like to know how to make animations go smoothly, for e.g. I have a monster with an idle animation but when I set a OnCollisionEnter so that when my character enters the collider, the monster changes its animation to standby (looking around by moving its head etc…). So far, it changes the animation but really fast and it looks unrealistic. I want it to go smoothly from one animation to the other. Thanks for the help!

Try using crossfade -

function idle(){
	animation["Idle"].wrapMode = WrapMode.Once;
	animation.CrossFade("Idle");
}

function standby(){
	animation["standby"].wrapMode = WrapMode.Once;
	animation.CrossFade("standby");
}