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.

Getting two animators to work together

Discussion in 'Animation' started by CarpetHead, Nov 26, 2014.

  1. CarpetHead

    CarpetHead

    Joined:
    Nov 22, 2013
    Posts:
    20
    I have two animators on two separate gameobjects. I set a trigger on both of those objects. For some reason, one of them always starts playing it's respective animation before the other one. Why is this? can it be avoided?

    Thanks!
     
  2. Mecanim-Dev

    Mecanim-Dev

    Unity Technologies

    Joined:
    Nov 26, 2012
    Posts:
    1,675
    It hard to tell without seeing your controller, does both animator use the same controller?

    If not, does the transition to play this animation have exactly the same condition and timing?
     
  3. CarpetHead

    CarpetHead

    Joined:
    Nov 22, 2013
    Posts:
    20
    They use a different controller, and are both looping in a state before the state where I want them to be synchronised. They are both connected to the hopefully synced state by a transition with no duration and the only condition is the trigger, which is set at exactly the same time for both. One of them takes one tap of the skip forwards a step button (next to play and pause) longer than the other to transition (somehow my instant transition is not instant)
     
    Last edited: Nov 26, 2014
  4. Mecanim-Dev

    Mecanim-Dev

    Unity Technologies

    Joined:
    Nov 26, 2012
    Posts:
    1,675
    Please log a bug with your project and we will take a look