We then create a 'Sprites' folder and move the sprite inside it. Once done, we export the character as a PNG image and import it into Unity. By dragging the legs away from the body in the sprite editor, we can avoid any clipping issues. We want to ensure that the character's body parts do not clip into each other. To start, we need to make some changes to the character we created in a previous episode.
We will cover the process of importing a PNG image, creating sprites, rigging the character with bones and weight, adjusting the collider, adding IK Manager 2D, creating animations for idle and running, adding transitions and conditions in the Animator, controlling animations with code, flipping the character's sprite, and adjusting animation speed and physics parameters. In this tutorial, we will learn how to animate 2D characters inside Unity.
Rigging the Character with Bones and Weight.Importing the PNG Image and Creating Sprites.