Topic: 2D sprites not playing in correct order

Hey all,
I noticed what seemed to be my sprites not playing in the correct order, but upon recording the animation I found out that the very first frame of a couple of my animations are being cut off from the beginning of the move and instead are playing that frame at the end of the animation. As a result, my animations aren't quite lining up with my hitboxes in-game, even though they are displaying correctly in the Unity animator and the hitbox viewer.

Any help is appreciated, thanks

Share

Thumbs up Thumbs down

Re: 2D sprites not playing in correct order

Under  Character Editor -> Move Sets, try toggling an an option called "Normalize Animation Frames". This option normalize an Unity issue on the animation control for 2d sprites.

Like UFE? Please rate and review us on the Asset Store!
Questions about the Forum? Check out our Karma FAQ.
Don't forget to check our discord channel.

Re: 2D sprites not playing in correct order

That hasn't worked unfortunately, I even tried changing the animation control to Unity Engine with no luck.

Share

Thumbs up Thumbs down

Re: 2D sprites not playing in correct order

In your animation clip turn loop time off, that should prevent the first frame repeat issue
https://i.imgur.com/eVQYUGT.png

Share

Thumbs up +1 Thumbs down

Re: 2D sprites not playing in correct order

FreedTerror wrote:

In your animation clip turn loop time off, that should prevent the first frame repeat issue
https://i.imgur.com/eVQYUGT.png

That seems to have fixed the frames getting mixed up, but I'm presented with a new issue - the active hitbox is becoming active one frame earlier than it should. Anyone know anything about this? Thanks

Share

Thumbs up Thumbs down

Re: 2D sprites not playing in correct order

Yes, You will need to either adjust your sample rate or the frames. It's one of the challenges when working with 2D and UFE (I'm working on a 2D game, I've ran into this plenty of times).
https://i.imgur.com/HyzvhLy.png

Share

Thumbs up Thumbs down