How to check "animation.Blend" weight status?

I’m applying “animation.Blend” to fade out an animation Mix. I need to check when the weight get to zero to apply some other actions.

I’ve trying animation[“ClipName”].weight and also having the clip as an AnimationState variable, then ClipVar.weight… both didn’t worked.

1 Answer

1

Untested but should work

if (!animation.IsPlaying("AnimationName"))

This means that if animation is not playing (or stopped) this will become true :slight_smile:

Hope it helps