Synchronize animations

Suppose I have 2 animations:

  • 3 frames of a person walking
  • 3 frames of a shirt

4743107--450053--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.
4743107--450056--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).

Uhhh… use an animator on the player and put both changes on the same keyframe?

1 Like