Search Unity

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.