Search Unity

Synchronize animations

Discussion in '2D' started by dccoo, Jul 13, 2019.

  1. dccoo

    dccoo

    Joined:
    Oct 3, 2015
    Posts:
    131
    Suppose I have 2 animations:
    1. 3 frames of a person walking
    2. 3 frames of a shirt
    upload_2019-7-13_12-55-14.png

    These animations are correspondent: if you put the shirt over the walking person, it should look like the person is wearing that shirt.
    upload_2019-7-13_12-55-46.png

    My question is: How can I synchronize these 2 animations in Unity?

    Suppose, for simplicity, I have a GameObject like this:

    Player

    ╠═ Body animation
    Shirt animation


    Suppose, also for simplicity, all frames have the same size and the children are all (0,0,0).
     
    Last edited: Jul 13, 2019
  2. A_Person_Named_Dart

    A_Person_Named_Dart

    Joined:
    Apr 14, 2018
    Posts:
    318
    Uhhh.... use an animator on the player and put both changes on the same keyframe?
     
    dccoo likes this.