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
r/howdidtheycodeit • • Jun 27 '22
It also reacts to other stuff and gets destorted if close or if you hit invisible wall
2
u/Arshiaa001 Jun 27 '22
It's called softbody simulation. Physics engines provide it.
5
u/[deleted] Jun 27 '22
I believe each blob consists of many sticks and force is applied on them.