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

Synchronize animations

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

  1. dccoo

    dccoo

    Joined:
    Oct 3, 2015
    Posts:
    133
    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:
    338
    Uhhh.... use an animator on the player and put both changes on the same keyframe?
     
    dccoo likes this.
unityunity