Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.

Soft body physics

Discussion in 'Physics' started by T-Hawk, Dec 22, 2014.

  1. T-Hawk

    T-Hawk

    Joined:
    Dec 17, 2014
    Posts:
    4
    In the Unity Physics page, it's mentioned that Unity supports soft body physics such as "semi-deflated beach balls that interact realistically with the environment". I've searched a lot for examples on how to do this but couldn't find any. Would you kindly point me to anything that exists? Thanks!
     
    ESC-ESCAPE likes this.
  2. Atmey

    Atmey

    Joined:
    Nov 3, 2012
    Posts:
    88
    T-Hawk likes this.
  3. T-Hawk

    T-Hawk

    Joined:
    Dec 17, 2014
    Posts:
    4
    Thank you very much, I'll check the links out!
     
    Yentrix likes this.
  4. saddam751

    saddam751

    Joined:
    Nov 6, 2013
    Posts:
    41
    Use following ways-

    1.Using Cloth is the best way to make a soft body by setting it's pressure to 1.Select it's mesh as sphere.
    2.Other way is mesh deformation.In this you have to change every triangle,UV and vertex of mesh in order to achieve soft body physics.

    Here are some links to check-
    http://answers.unity3d.com/questions/274269/mesh-deformation.html
    http://answers.unity3d.com/questions/847784/mesh-deformation-with-collisions.html
    http://unitycoder.com/blog/2012/07/25/verlet-integration-softbody/
     
    vama89 likes this.
  5. Prodigga

    Prodigga

    Joined:
    Apr 13, 2011
    Posts:
    1,122
    Also note that this feature is removed in Unity 5...

    See here, under 'Cloth Component'

    http://blogs.unity3d.com/2014/07/08/high-performance-physics-in-unity-5/

    If you start a project now which makes use of InteractiveCloth, you are stuck with 4.6.x for the entire project. So take a good look at the bug tracker and make sure there aren't any bugs out there that will cause you issues. They will probably take a very long time to get fixed after Unity 5 is released. (I am sure the Unity team will work on Unity 4 bug fixes, but I doubt they will get around to fixing bugs very quickly)
     
  6. saddam751

    saddam751

    Joined:
    Nov 6, 2013
    Posts:
    41
    UNITY 5 will have more user friendly cloth component
     
  7. Prodigga

    Prodigga

    Joined:
    Apr 13, 2011
    Posts:
    1,122
    Unity 5 will have a cloth component that is more tailored for things like capes and other character clothing.

    This is great for character clothing. But really crap for interactive objects within the scene (like beach balls)
     
  8. saddam751

    saddam751

    Joined:
    Nov 6, 2013
    Posts:
    41
    yup
     
    Prodigga likes this.
  9. saddam751

    saddam751

    Joined:
    Nov 6, 2013
    Posts:
    41
  10. kalagaan

    kalagaan

    Joined:
    May 27, 2012
    Posts:
    1,488
  11. Nodrap

    Nodrap

    Joined:
    Nov 4, 2011
    Posts:
    78
    Very poor. I saw the feature in 4 and thought about using it now only to find it gone. They really need to have it as a separate feature so users can have soft bodies AND the new optimal cloth system.
     
    Corscaria and tpenney like this.
  12. StaffanEk

    StaffanEk

    Joined:
    Jul 13, 2012
    Posts:
    380
    Any update on soft bodies in Unity 5-2017?
     
  13. hippocoder

    hippocoder

    Digital Ape Moderator

    Joined:
    Apr 11, 2010
    Posts:
    29,723
    Nope. Check roadmap, it'll get posted there long, long before it'll ever show up in Unity. If it's not there now, come back in 2018.

    (you should roll your own or go 3rd party asset)
     
  14. laurentlavigne

    laurentlavigne

    Joined:
    Aug 16, 2012
    Posts:
    6,007