Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Question Newbie : Join animations

Discussion in 'Animation' started by Shihisto, Oct 13, 2016.

  1. Shihisto

    Shihisto

    Joined:
    Oct 13, 2016
    Posts:
    2
    Hi, I am learning the animation system with Unity. But i cannot find how to join several animations. That is, I have several animations : Wait0, Wait1, Wait2. I want a loop between wait0 -> Wait1 -> Wait 2 but have only one exit condition for the three animation as if were only one animation.
    It is possible with the animator or I must merge the animations manually with a software like 3DS ?
    Sorry for my english, I hope I could make myself understood

    Thanks for your answers
     
    Last edited: Oct 13, 2016
  2. GrischaG

    GrischaG

    Joined:
    Apr 26, 2013
    Posts:
    40
    Hi,
    in the Animator-window you can make your transitions as you need them. wait0->wait1->wait2->wait0. Then make sure the transitions have exit time. For the exit condition make one transition from each animation without exit time to the animation you want to go to.
     
  3. Shihisto

    Shihisto

    Joined:
    Oct 13, 2016
    Posts:
    2
    Thanks for the answer.

    I knew this method but in Unity we can not make a "sub-group animation" with just one exit condition for the whole group ?

    Because I find it redundant to do the same exit transition for each WAIT0, WAIT1, wait2