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

Animation position is different in each frame

Discussion in 'Animation' started by antk, Nov 15, 2014.

  1. antk

    antk

    Joined:
    Dec 10, 2013
    Posts:
    24
    Hi, I'm having some issues getting my animation to "stick" to the floor of my scene. I'm trying to "grow" my sprite. As an example, I have a rectangle starting off small and progressively getting larger with each frame of my animation.

    Here is my simple sprite sheet



    But when I import into Unity, slice it up, and create my animation, I end up getting this:

    https://dl.dropboxusercontent.com/u/10250170/animation_alignment/animation_alignment.html

    I don't understand why each frame is in a different position.

    Does this have to do with Root Transform Position?

    Any ideas?

    Thanks.
     
  2. antk

    antk

    Joined:
    Dec 10, 2013
    Posts:
    24
    Fixed. Had to set pivot to bottom when slicing up the sprite sheet.
     
    theANMATOR2b likes this.