Search Unity

How would you have 2 animations going at once?

Discussion in 'Animation' started by j_perker, Mar 6, 2014.

  1. j_perker

    j_perker

    Joined:
    Feb 20, 2014
    Posts:
    19
    Say I want a player to be wearing a hat, how would I add the hat to the animation without having to remake an animation with every character and every hat.
     
  2. TonyLi

    TonyLi

    Joined:
    Apr 10, 2012
    Posts:
    12,706
    Add the hat object as a child of the player's head bone.
     
  3. j_perker

    j_perker

    Joined:
    Feb 20, 2014
    Posts:
    19
    Well it's for 2d actually, and there's different sprites for walking up/down/left/right
     
  4. Alf203

    Alf203

    Joined:
    Dec 7, 2012
    Posts:
    461
    Either you animate the character with the hat in the same sheet or animate the Hat separately in its own spritesheet. Not much choice for 2D its one or the other.
     
  5. j_perker

    j_perker

    Joined:
    Feb 20, 2014
    Posts:
    19
    so if I want hat and armor in the game I would need to make 4 total sprite sheets, one with the character with nothing, one with the character and hat, one with the character and armor, and one with the character, armor and hat?