- Home /
How to deal with an animation from sprites of different sizes?
I am making a standard animation from a sprite sheet (45 sprites). I sliced it with the Unity Sprite Editor but the problem is the sprites all vary in size, because my animated object is shrinking.
Not sure how I would use the pivots in the sprite editor, because I would have to manually position the pivot for all 45 of my sprites.
I know that I could tweak the position of every sprite but is there a more professional way of doing it?
Thanks in advance.
EDIT: I uploaded an example. As you can see the center of gravity of every sprite is different. I was thinking of making a rectangular stroke of the same size around every sprite, in order to help Unity slice sprite of always the same size, but I would lose space on my 1024x1024 sprite sheet.
I'm going assume you are shrinking some sort of character and that you want it to stay grounded as it shrinks. Is that correct?
Hi there, thanks for your response. Actually the character is flying and has the shape of an oval. Its size decreases unevenly and I want the center of the sprite to be always at the same place throughout the animation
Then you shouldn't have any problem if the source images are always centered? What kind of behavior are you seeing currently? Can you post an example of two sprites? Perhaps one where it is at its largest scale and one where it is smaller?
Cool man, I'll experiment with the idea for a bit and see if I can find out a good way to handle it.
Your answer
Follow this Question
Related Questions
Sprite Manager Play animation 0 Answers
The name 'Joystick' does not denote a valid type ('not found') 2 Answers
2d animation import 1 Answer
2.5 platformer sprite animated character 3 Answers
Animation Script Help 1 Answer