- Home /
 
 
               Question by 
               klolololol · Jul 21, 2015 at 05:19 PM · 
                animationanimatormecanimtransition  
              
 
              Make mecanim transition after a delay in Unity3D
I'm using Unity's Animator to animate my character, I want an animation to start only if it lasts long enough.
For example: sometimes if my character goes on the ground and there's a little something on the way it makes my character ascend for a frame or two, but my onGround parameter of my animator still detects the change an make my character animating the Flying animation.
So in this case I want my animation to start only after a short delay like 0.1 sec, and only if the onGround parameter is still false, to avoid these little glitches.
Is there an easy way doing this? Or should I manipulate it from script? If so, how?
               Comment
              
 
               
              Your answer