Flipping a 2D Sprite Animation in Unity 2D

后端 未结 5 1106
失恋的感觉
失恋的感觉 2020-12-30 07:04

I\'ve got a quick question regarding 2D Sprite animations that I haven\'t been able to find specifically answered anywhere:

I have a sprite with walk animations to t

5条回答
  •  清歌不尽
    2020-12-30 07:15

    If you're animating in Unity:

    1. Copy all frames (sprites) of the animation that you want to flip over.
    2. Paste those frames into your new animation and select everything on the first frame.
    3. Change the x scale of the first frame from 1 to -1.
    4. Do the same thing with the very last frame of your animation.

    Now it should play facing the other direction!

提交回复
热议问题