the3dadvantage/Modeling-Cloth

Sharp corners collider sticking out + tests

Opened this issue · 4 comments

Hi! I love this addon, so first of all, THANK YOU for making it available!

I have an issue with sharp corner colliders and tried some workarounds, with no success. Unfortunately I know no python, even though your plugin certainly is very inspiring as a reason to start studying it.

On this case, the cube, what I've tried so far is this:

  • adding subdivision/faces to the collider object doesn't seem to help,
  • adding more margin to the collide value of the cloth doesn't help,

adding some collide margin to the collider object seems to help a bit, because of the distance, but I have to use extremely high value that leave a big gap & the cloth seems to get more slippery on it (?)

I attached some gifs of what happens depending on the cloth subdivision. It seems to happen when the faces don't fall flat against the collider. Again, I don't know python and I apologize if this doesn't help much.

Hope this can be useful to anyone willing to check this out, or if there's a workaround I'm very interested in knowing it. Thanks!

1lowpoly
2midpoly
3higherpoly2

I'm currently using a very simple point-to-face collision system. It doesn't work well with sharp edges like on a cube. I will eventually experiment with a better collision model.

Looking forward to it! I've made some impressive cloths with it, especially with spheres. it works like a charm.

Great! I'd love to see what you came up with.

Thanks, I'm very happy to show you some renders! Your add-on is the most promising tool for cloth I've come across lately. I'm on a very tight budget right now and it was a godsend, I really wanted to work with some realtime cloth!

5
6
4

Later I will post some recordings of a couple real-time tests I've made.
And, of course, thank you for all the work you've put into this!