r/howdidtheycodeit • • Jun 27 '22

How did they code the agar.io wobble effect of players?

It also reacts to other stuff and gets destorted if close or if you hit invisible wall

3 Upvotes

3 comments sorted by

2

u/Arshiaa001 Jun 27 '22

It's called softbody simulation. Physics engines provide it.

3

u/[deleted] Jun 28 '22

softbody simulation

thank you

5

u/[deleted] Jun 27 '22

I believe each blob consists of many sticks and force is applied on them.