Unity Adding Jiggle Physics In Unity 2D

OMGMCM

Newbie
Jun 28, 2022
75
94
Hey, i was wondering how you would go about adding jiggle physics and colliders to a 2d object in unity, i saw this person doing it in quite a cool way but can't figure out how to replicate it

Physics1.gif
Physics2.gif
 

aereton

Digital Hedonist Games
Game Developer
Mar 9, 2018
516
991
If you're looking to go full , you'd be best off using an SDK like Live2D or Spine Pro (will cost you).

If you're looking to emulate just what you were showing in your examples, you can easily create the desired results by emulating softbody physics on the breasts (or whatever part you want to be the squishy soft goodness) and have that attached with springs to the character. Essentially, you would 2d rig the sprite of each breast with bones, and have multiple rigidbodies on the breast to simulate a soft whole. Then, you can make it interactable by manipulating physics forces wherever the user is pointing.

To visualize this, imagine each breast is a net of oranges like pic below. The net is attached to the characters body with a spring component. Each orange is a Rigidbody2D component, and they are held together by more spring components. The net itself then would be your sprite that is deformed with the help of rigging and the magic of a skinned sprite renderer component. For the interactivity, you would then apply physics forces where the user is pointing to each rigidbody, which causes the whole net to move accordingly.
70901022.cms.jpeg

I cannot give you a step by step on how to achieve that currently, but here are some resources on softbody physics:

  • (straightforward tutorial for Unity)
  • (not a tutorial, more like a theoretical overview on how softbody simulation typically is achieved, very good to get an understanding on the whole procedure)
  • (straightforward tutorial for Unity)
If you are running into specific issues, I'd be happy to help! As long as it's not requiring me to write you a whole tutorial. :HideThePain: Good luck.
 
Last edited:
  • Like
Reactions: osanaiko