Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Question Using one animator controller to animate multiple unrelated objects?

Discussion in 'Animation' started by Demarest, Sep 24, 2021.

  1. Demarest

    Demarest

    Joined:
    Aug 11, 2013
    Posts:
    3
    I have a scene with one animator controller and different cards, Each card has an animation to move "up" or "down" using OnMouseEnter and OnMouseExit, and the animation is specific to each card because they have different orientations. This means that while one card is moving down, another could move up at the same time.

    My problem is that I don't know how to move them at the same time using the same animator controller. I've tried layers and changing those to additive and having the same weight but the result is inconsistent. I don't know how to have multiple states running at the same time because most of the times the animation gets stuck, other times there's a random delay (with or without "has exit time"), or they wait for the other to end even if they don't share the same trigger..

    Any tips? What am I doing wrong? Should I use one animator controller for each object? Thanks.
     
    Last edited: Sep 24, 2021