Obi Official Forum
Help different skinned clothes intercollision - Printable Version

+- Obi Official Forum (https://obi.virtualmethodstudio.com/forum)
+-- Forum: Obi Users Category (https://obi.virtualmethodstudio.com/forum/forum-1.html)
+--- Forum: Obi Cloth (https://obi.virtualmethodstudio.com/forum/forum-2.html)
+--- Thread: Help different skinned clothes intercollision (/thread-2028.html)



different skinned clothes intercollision - guoli - 11-02-2020

Hello,

I have two different skinned clothes with self-collision checked and parented by one solver hoping that they can collide with each other at runtime. But it doesn't work. Am I doing it in the wrong way? If so, I wonder how can I do it. 

Thanks.


RE: different skinned clothes intercollision - josemendez - 11-02-2020

(11-02-2020, 12:49 PM)guoli Wrote: Hello,

I have two different skinned clothes with self-collision checked and parented by one solver hoping that they can collide with each other at runtime. But it doesn't work. Am I doing it in the wrong way? If so, I wonder how can I do it. 

Thanks.

Self-collision means... well, self-collision: a cloth colliding with itself.

To have two pieces of cloth colliding between each other (inter-collision), you need to make sure they have different phases. See:
http://obi.virtualmethodstudio.com/tutorials_4/collisions.html


RE: different skinned clothes intercollision - guoli - 11-02-2020

(11-02-2020, 02:43 PM)josemendez Wrote: Self-collision means... well, self-collision: a cloth colliding with itself.

To have two pieces of cloth colliding between each other (inter-collision), you need to make sure they have different phases. See:
http://obi.virtualmethodstudio.com/tutorials_4/collisions.html

Thanks, I changed their phases and it seemed work. 

But still, they penetrate sometimes. Is penetration not avoidable?


RE: different skinned clothes intercollision - josemendez - 12-02-2020

(11-02-2020, 09:17 PM)guoli Wrote: Thanks, I changed their phases and it seemed work. 

But still, they penetrate sometimes. Is penetration not avoidable?

Hi,

Not in all cases. Make sure particle radius is high enough that gaps do not appear between particles, that would be the basic thing to look out for. Even then, there's a slight probability of tunneling (like in all physics engines). See: https://www.youtube.com/watch?v=ms0Z35GY6pk&list=PLnCR8_XCOgrZL8gNxeuGJSrMUXHdJMXKn


RE: different skinned clothes intercollision - guoli - 12-02-2020

(12-02-2020, 08:52 AM)josemendez Wrote: Hi,

Not in all cases. Make sure particle radius is high enough that gaps do not appear between particles, that would be the basic thing to look out for. Even then, there's a slight probability of tunneling (like in all physics engines). See: https://www.youtube.com/watch?v=ms0Z35GY6pk&list=PLnCR8_XCOgrZL8gNxeuGJSrMUXHdJMXKn

Increasing particle radius of both clothes does make the whole simulation looks better. BTW, these tutorials on youtube are really great, Thank you.