Search Unity

Cloth distortion

Discussion in 'Physics' started by Heelleenn, Sep 10, 2019.

  1. Heelleenn

    Heelleenn

    Joined:
    Jan 18, 2018
    Posts:
    2
    Hello all.

    I have very embarassed problem. It happens to me many times. After i created mesh in Blender, lets say in my case long coat, i wanted add nice gently cloth physics movement. Its already skinned mesh, i setup all in cloth component and when i hit play button wow is so nice, no problem. Then i add surface penetration and when i hit play button again..wohoo.Something flying around! like broken mesh...Gif included. I tried clean mesh, reduced mesh polygons but everytime is this! Gah, please help me. Im still noobish in Unity.

    Thank you very much

    Unity 2017.2
    NVIDIA GEFORCE 740 M
    https://gyazo.com/6441b5cb8e17da444a2634a7da9c77e2

    https://gyazo.com/b0f295d722210847ee1aee62d371dc69
     
    Last edited: Sep 10, 2019
  2. AndrewRH

    AndrewRH

    Joined:
    Jan 24, 2012
    Posts:
    2,806
    You should probably add some capsule / sphere-pair colliders to help the cloth not intersect itself. We found that using the self-intersection option in the Physics Setting and painting those weights caused things to become slow/unstable for large meshes... Hopefully the colliders help a bit?
     
  3. Heelleenn

    Heelleenn

    Joined:
    Jan 18, 2018
    Posts:
    2

    Thank you for your answer. Yes, i using now sometimes colliders that helps.But i cleaned UV map and polygons and that helped too. Thank you :)