Search Unity

Animation comes out shakey?

Discussion in '2D' started by MrDaveForDays, Feb 22, 2021.

  1. MrDaveForDays

    MrDaveForDays

    Joined:
    Dec 29, 2020
    Posts:
    6
    Hello,

    My animation I drew is coming in a little uhh... Shakey? I guess is the best way to describe it? I recorded a gif: https://imgur.com/2ykx73L is what it looks like in Unity. Here is another gif in aseprite to show that it isn't the sprite's issue: https://imgur.com/CFrEMU9

    Basically all I did was just make an animation the normal way (select all sprites and drag into editor. I also tried making the animation and then dropping the files in there) and for some reason this is happening. It almost looks like the sprite is being resized (badly) and the aspect ratio changing causes that issue? But the actual sprite stays the same size. Any suggestions?

    Edit: Just wanted to say I made extra sure that the animations components are not moving around themselves, so thats not the issue. Also there is no code moving the camera/sprite. That gif I posted was actually just in the editor (though the issue is there when I run it too)
     
  2. MrDaveForDays

    MrDaveForDays

    Joined:
    Dec 29, 2020
    Posts:
    6
    Got it figured out. Just in case anyone comes to this, my issue was that my sprite sheet was basically one long row that totaled up to like 9600px width. Changed it to 2 rows, and it was fine.