the3dadvantage/Modeling-Cloth

Cloth jittering if using self collision

Opened this issue · 3 comments

Hi Rich, while I tried to merge your latest commit, I found new issue where jittering can occur if using self-collision. Here's a screenshot where it happens:
self_collision_bug
Do you know what happens here?

The jittering is probably because of the subsurface modifier. Try turning off subsurface, turn collider on and off then run again. I will also fix this issue in the code by having the self collisions ignore modifiers.

I see. After tried it without subsurface modifier, I still get the jitter, but not as much when using subsurface modifier. Any idea why this happens?

It might be the order I'm adding the velocity with the collision response. There is another bug I'm looking into where the cloth has to be in it's rest state when you turn on the collide property or it goes nuts.