Cloth doesn't collide with objects, and itself.
Closed, DuplicatePublic


System Information
Operating system and graphics card
Windows 7 Ultimate, GTX 970.

Blender Version
Broken: All new from Buildbot including Gooseberry branch.
Worked: Official from

Short description of error

Like in topic. Cloth object don't collide with collision object, and don't collide with itself.

Exact steps for others to reproduce the error
Add plane, subdivide, add to it cloth simulation. Add sphere, add collision and watch.

Kamil Adamski (adrian2608) updated the task description. (Show Details)
Kamil Adamski (adrian2608) raised the priority of this task from to Needs Triage.

I confirm the same problem under Ubuntu 14.04 64 bits.

attached.blend works under official 2.73 but it does not for master 2.73.4 hash 3121941.

My bad, i disabled contact point generation for cloth during work on the hair solver.

Using the same collision algorithm for cloth (surface) and hair (strands) geometry may not be a good idea in the long run. For a simple penalty-force response it may still work ok-ish, but already the contact detection needs to work differently with simple BVH tree intersection tests.

Eventually i'd like to move to Bullet collision detection, using ghost objects so we can handle responses separately in our own solver. Cloth is a pretty straightforward mesh collision shape, but hair requires some more creative solution, e.g. using a compound implicit shape of cylinders and spheres (connected capsules).

The response part could then at least use a 3-stage Coulomb friction model (free - impacting - sliding), which works a lot better for stable resting on colliders. We could then also look into more advanced collision integration in the solver itself, using a solver method that supports unilateral constraints much better than penalty forces. For in-depth info, here is a selection of papers on the subject:

Large Steps in Cloth Simulation (Baraff, Witkin 1998)
A Hybrid Iterative Solver for Robustly Capturing Coulomb Friction in Hair Dynamics (Daviet, Descoubes 2011)
Implicit Contact Handling for Deformable Objects (MA Otaduy, R Tamstorf, D Steinemann 2009)

Kévin Dietrich (kevindietrich) reopened this task as Open.

Sorry I screwed up merging duplicates...

Hi I am a newbie with who is willing to work on cloth simulation aspect of blender since it is a part of my Phd thesis. Is this bug already fixed ?

Hi I am a newbie with who is willing to work on cloth simulation aspect of blender since it is a part of my Phd thesis. Is this bug already fixed ?

I suggest using the 2.73a release. The issue with cloth collisions only occurs in the upstream development versions of blender.

Yes, I tested it with the 2.72 release edition and it seems there the problem is not there. But it is occuring in the developer build that I got from the git repository. I will look into this. Since this is my first tryst with blender any suggestions will be welcome.

I seem to recognize collision, but do not function for cloth sim.
I attach a file.
Cube should stand in the former version.
However, bending is ignored in the revised version.

[The edition that I confirmed]
version 2.73 (sub 9), branch b'master', commit date b'2015-03-02' b'00:05', hash b'56935e2', b'Release'

I think that friction does not function in the same way.

I think that some situation is different.
Results are different even if they make the same setting in 2.73a(release edition) and the revision.
The result is the same even if I carry out the result of made blend file in any version.
Made blend files are different.
I made this file in a revised version.

I made this file in 2.73a(release edition).

Both setting is the same.

Confirmed, i think i'm not applying positions in quite the same way or so. Will look into it ...

Merged into T43911 because its description is more specific.