Deformable Cloth Simulation - Cloth Size

Discussion in 'Support requests' started by yujie, Jul 29, 2019.

  1. We have had some trouble increasing the size of the cloth. We tried increasing the number of cylinders that compose the cloth body (count=”10 10 1”), but the simulation becomes unstable. We have attached our files for this. How can we increase the cloth size while keeping a stable simulation?

    Here is the movie link which shows our unstable state in htcvive's VR view https://drive.google.com/open?id=1y2VYtTn8lkE6hxsJlIT8THx6VIl_7b3U
    Thanks!
     
  2. Emo Todorov

    Emo Todorov Administrator Staff Member

    The cloth body is constructed with long kinematic chains, which are then connected with additional equality constraints. Long chains are difficult to integrate numerically (because the underlying ODE becomes very stiff). The RK4 solver will increase integration accuracy and stability in this case. But in general, the 2D grid composite object is better behaved in terms of simulation stability, so try that if you want larger cloths. Its behavior is somewhat different -- it is literally a 2D grid of spheres connected with distance equality constraints. This makes it more "jittery" than the cloth object.