- Home /
Question by
Shady · Apr 09, 2011 at 05:39 PM ·
animationtransitioncrossfade
Animation.Play works, but Crossfade does not?
Hey guys, my character should plays a "hang" animation when hanging off the ceiling, and play another one, namend "hungrest" while hanging idle (velocity.x == 0) off the ceiling.
function Hungrest() {
animation.Play ("hungrest");
}
Hung and Hungrest are on the same layer (0) but when i use CrossFade for hungrest, hung stops but hungrest does not start. When i use animation.Play, like in the example above, its works, but the transition is pretty ugly.
Thanks for your time!
Comment