- Home /
What's the best way to line up sprites between animation states when they aren't symmetrical?
I'm using the sprite-based frame animation tools that Unity 2D provides to animate my characters. However, I'm still unsure what the best way is to line up the sprites between animations so they flow naturally from one to another. The only real way I'm seeing is to make sure every frame for every animation of you character is the same exact width and height. The downside to that is obviously a lot of empty space in your spritesheet.
I've also tried using custom pivot points for this, however, the sprites seemed to jump back and forth on the last frame of each animation.. I'm not sure what the cause of this is.
Any suggestions?
Answer by XYHC · Jan 04, 2019 at 02:51 AM
Edited: I have switched over to using TexturePacker, and it is absolutely amazing for managing your sprites, updating them, and especially setting pivot points for aligning animations! When I make my sprites in an animator, I usually put in a visible red mark to help myself set individual pivot points in TexturePacker later (make sure the red mark is at the same spot if you have multiple separate annimations), then once the animations are aligned, I simply delete the red mark & export my sprites again. Everything gets automatically updated by TexturePacker (while the previously set pivots remain the same), and my life has never been easier!