Search Unity

Question Blob Physics

Discussion in 'Getting Started' started by IzuKnowsCode, Aug 26, 2022.

  1. IzuKnowsCode

    IzuKnowsCode

    Joined:
    Aug 26, 2022
    Posts:
    3
    OK SO I'm trying to make a 2d fighting game and I want the characters to be blobs that can bounce around on walls and etc. but I also want the blobs to have actual blob type physics so for example when they hit a wall they will jiggle and the wall would like push into their body like actual slime. Anyone know how to do this?
     
  2. DevDunk

    DevDunk

    Joined:
    Feb 13, 2020
    Posts:
    5,048
    Might help:


    You could have a blob exterior and a hard rigidbody that does the bouncing off while the exterior slows it down?
     
  3. IzuKnowsCode

    IzuKnowsCode

    Joined:
    Aug 26, 2022
    Posts:
    3
    I forgot to include that I've tried exactly that which is creating lots of bones and connecting them with the spring joints, it did not work, well atleast it did not work correctly. I recorded what happens when I do it (sorry for the external link). https://imgur.com/a/pjJKNGx
     
  4. DevDunk

    DevDunk

    Joined:
    Feb 13, 2020
    Posts:
    5,048
    Definitely looks interesting, but not the desired result yeah.
    Maybe look into mesh/sprite deformation or soft bodies
     
  5. IzuKnowsCode

    IzuKnowsCode

    Joined:
    Aug 26, 2022
    Posts:
    3
    ok thanks
     
  6. BrandyStarbrite

    BrandyStarbrite

    Joined:
    Aug 4, 2013
    Posts:
    2,076
    Playing around with the gravity settings, might help here too.
     
    Last edited: Sep 18, 2022