I was wondering if someone could guide me to a resource or help me with procedural 2d animations in unity. The main character for my game is heavy set and I wanted to make it look like he bounces when he jumps and lands using scripts. Basically distorting the sprite. I tried searching the almighty google, but I can’t seem to find anything.
Sprite meshes in unity can not be animated by default. You could however try one of these 3 methods:
- Animate a 3D plane in 3th party 3D software with bones which displays the image
- Drawing the animation frame by frame, and display that as an animation
- Use a third party program called Spine, which allows you to distort 2D images in animations (via bones again) and export that to unity. (note it’s not free, but also not that expensive, and there’s a free trial to check it out)
Hope this helps