The polygon slice function of TexturePacker Pro is very nice, it suit the size of the sprite. However my TexturePacker Pro trial had finished, and by using Unity Sprite Editor will make my sliced sprite tremble, I don't know why.

How can I use Unity Sprite Editor to slice my sprites correctly?

  • 2
    \$\begingroup\$ Can you describe what it looks like when your sliced sprite "trembles" or even better, record a video or gif so we can see the effect ourselves? It might not be the slicing/packing that's causing it. Rippling sprite artifacts can occur due to scale mismatches, so there may be other routes to solving your problem. \$\endgroup\$ – DMGregory Nov 30 '16 at 3:36
  • \$\begingroup\$ i have see that each sprite of your character in sprite sheet is shaped square , why don't you just use square instead of polygon ? \$\endgroup\$ – user6668201 Nov 30 '16 at 11:57
  • \$\begingroup\$ @DMGregory but I can't attach video or gif file \$\endgroup\$ – Philip Chow Nov 30 '16 at 12:06
  • \$\begingroup\$ @user6668201 I'm using Unity sprite editor, setting - sprite mode: multiple and format: true color, using grid by cell size make it into square size and slice it \$\endgroup\$ – Philip Chow Nov 30 '16 at 12:31
  • \$\begingroup\$ That's odd — even when you click the "edit" button on your question? I didn't think there was a rep threshold for gifs but I could be mistaken. Instead, you can upload to Giphy or YouTube and edit your question to include the link to the gif/video respectively. \$\endgroup\$ – DMGregory Nov 30 '16 at 13:09

If you are seeing trembling in your sprite animations the problem is the pivot point on the sprite sheet. In Unity, the pivot point looks like a blue circle on each sliced sprite in the editor (see screenshot). The pivot point acts as the point of rotation and also the starting point for where the sprite will be rendered in the scene. To fix the problem click the pivot point and on each sliced sprite and drag it to a position that you know will stay constant, like an eyeball or a foot.enter image description here

  • \$\begingroup\$ Ok ... I try your method and see whether it function or not ... thanks ^^ \$\endgroup\$ – Philip Chow Nov 30 '16 at 15:55

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.