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.
  2. Join us on Dec 8, 2022, between 7 am & 7 pm EST, in the DOTS Dev Blitz Day 2022 - Q&A forum, Discord, and Unity3D Subreddit to learn more about DOTS directly from the Unity Developers.
    Dismiss Notice
  3. Have a look at our Games Focus blog post series which will show what Unity is doing for all game developers – now, next year, and in the future.
    Dismiss Notice

Cloth self-collision: Selection not saving / unselects after clicking Play

Discussion in 'Physics' started by unity_V16sPb0I8SVOuw, Sep 6, 2019.

  1. unity_V16sPb0I8SVOuw

    unity_V16sPb0I8SVOuw

    Joined:
    Apr 1, 2019
    Posts:
    10
    Hi, I'm trying to implement a simple flag model with cloth physics. I set restrictions to the pole of the flag so that it hangs on it and set up colliders for the pole.

    Now I would like to implement self-collision so that the cloth mesh interacts with itself. However, when I make a selection of vertices using "Edit cloth self/inter-collision" in the Cloth component and click Play, the cloth is not behaving as if the collision is enabled. Resuming back to the editor, I can see that no vertices are selected. From the tutorials I've seen, there is no Save or Apply button to save the selection as it is saved automatically.

    I can make the selection again, but clicking play deselects all vertices. The same thing happens if I use Paint selection. In Physics settings, intercollision is enabled.

    Can someone tell me what I am doing wrong?

    Cheers

    pic1 - Copy.png pic2 - Copy.png
     
  2. unity_V16sPb0I8SVOuw

    unity_V16sPb0I8SVOuw

    Joined:
    Apr 1, 2019
    Posts:
    10
    Edit: I also suffered from Cloth-related performance issues whenever there were more than four Cloths in the scene.

    I was using just one, but having switched to Unity 2019.2.4f1, Cloth broke completely. The flag is now wrapped around the pole and the app runs at 1FPS at best.
     
  3. Blarghle

    Blarghle

    Joined:
    Aug 19, 2014
    Posts:
    19
    Bump. I would also like an answer on this, I'm in Unity 2019.2.8f1 and am experiencing the same problems. Getting either the cloth constraints or self collision vertex editors to work after pressing play is spotty at best.
     
  4. Sogima

    Sogima

    Joined:
    Feb 22, 2020
    Posts:
    1
    Me to... the same
     
  5. Qleenie

    Qleenie

    Joined:
    Jan 27, 2019
    Posts:
    526
    Cloth is broken since somewhere 2019.2. there are multiple severe issues. Some have been fixed very lately, in the 2019.3 release, but by far not all.
     
  6. sir-Gio

    sir-Gio

    Joined:
    Jan 20, 2020
    Posts:
    14
    Unity 2018.4 The same issue.