- Home /
crossfade doesn't work when no animation is playing
Hi
I have an object with two animations with wrapmode once. Crossfade works fine while one animation is playing but when no animation is playing it just jumps to the beginning of the animation without crossfading.
Am I doing something wrong?
Answer by Bunny83 · Feb 27, 2012 at 04:29 AM
Like the name crossfade implies it can only fade across two animations. The resulting animation weight is always normalized to 1.0. If only one animation is playing it gets the full weight.
You can use a one frame idle animation from which you crossfade to another animation. If you want to just fadeout an animation crossfade to this idle animation.
Your answer
![](https://koobas.hobune.stream/wayback/20220613064528im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
How to use CrossFade with anim2 when anim1 is over? 1 Answer
Begginers question, Simplifing a script, opening two doors with 2 overlapping triggers. 1 Answer
CrossFade won't crossfade animation, it just jumps to it. 0 Answers
How to change the "average velocity" value in my humanoid animation menu? 0 Answers
Can the animation editor create local rotational data? 3 Answers