- Home /
Shaking Sprite Mechanic/Animation after being hit
I'm trying to create an old-style animation where whenever someone is hit, they make a little shaking. This is seen in this video here; the yellow-jacket, mohawk guy shakes a little everytime he is hit by the player:
https://youtu.be/UXwJPSAJI2U?t=426
I've tried using the animator in Unity 5, maybe make a small position move every frame, but the options I have are only to move it to a specific place. Would I need to code it in Mono?
Comment