Search Unity

  1. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice
  2. Ever participated in one our Game Jams? Want pointers on your project? Our Evangelists will be available on Friday to give feedback. Come share your games with us!
    Dismiss Notice

Exiting animation on Exit Time AND any key press

Discussion in 'Animation' started by jnbbender, May 25, 2019.

  1. jnbbender

    jnbbender

    Joined:
    May 25, 2017
    Posts:
    357
    I am trying to figure if there is a way to do this. I have a character who can do a round house kick. When the kick is done he goes into a "melee idle" type of stance. When the animation "completes" I would like him to return to the regular standing Idle.

    However, if the character wants to throw another punch or kick, he has to wait until the 2 second clip is over. How can I make the "melee idle" be interrupted by a punch/kick/etc. and have it timeout?
     
unityunity