How can I create moving legs like these?

So I saw this animation from from a game called popper and I wanted to know how I can recreate this. Is it by script and/or animation?

Looks like it’s procedural, similar to the unity video below but without the animation of moving between the points to make it cartoony.

1 Like