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

Sprite out of scale before i press a key

Discussion in 'Animation' started by Gian519, Jan 16, 2017.

  1. Gian519

    Gian519

    Joined:
    Mar 25, 2016
    Posts:
    9
    Hi. Well, this is my first day with unity and surely this is a rookie error

    i make a movement animation, 8 directions, no problem.

    I do not know what I've touched, when the scene begins, before i press any button, the "default" sprite have a 0.5 scale in X. After i press a direction key it's all normal, the Bodydwarf_0 sprite return to normal scale.

    I leave a picture

    :(


    Thank you for your attention
     
  2. mikael_juhala

    mikael_juhala

    Joined:
    Mar 9, 2015
    Posts:
    247
    Have you accidentally modified the scale while the Animation window was recording? Check you animations for a scale property.
     
  3. Gian519

    Gian519

    Joined:
    Mar 25, 2016
    Posts:
    9
    Hey mikael ty for reply!

    currently the situation worsened, I added the head separately in the animation and only before I press a key the heads appear around and halved in x too

    i checked the animation window and nothing appears, but I remember touching some of the scale

    here is a picture :(



    EDIT: hey i can (roughly speaking) solve it!
    the Last Move factor was set in 0 X 0 Y and there was no sprite for that direction
    I just simply put a -1 in Y and now the default is to look down
     
    Last edited: Jan 18, 2017