• Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
3
Question by nathane · Jan 29, 2015 at 09:33 PM · spritesanimationsspritesheet

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?

Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

1 Reply

· Add your reply
  • Sort: 
avatar image
0

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!

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Welcome to Unity Answers

The best place to ask and answer questions about development with Unity.

To help users navigate the site we have posted a site navigation guide.

If you are a new user to Unity Answers, check out our FAQ for more information.

Make sure to check out our Knowledge Base for commonly asked Unity questions.

If you are a moderator, see our Moderator Guidelines page.

We are making improvements to UA, see the list of changes.



Follow this Question

Answers Answers and Comments

3 People are following this question.

avatar image avatar image avatar image

Related Questions

How can I key out (remove) a color from a spritesheet (2D)? 1 Answer

What are the best practices for reusing an animation controller? 0 Answers

Converting animations from after effects to png files to play as animations in unity caused to have too many files and caused large library size and low performance 0 Answers

Animation + Button Component? 0 Answers

How to Load multiple spritesheets separately from Resources? 0 Answers

  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges