Obi Official Forum
Rope goes through collider - Printable Version

+- Obi Official Forum (https://obi.virtualmethodstudio.com/forum)
+-- Forum: Obi Users Category (https://obi.virtualmethodstudio.com/forum/forum-1.html)
+--- Forum: Obi Rope (https://obi.virtualmethodstudio.com/forum/forum-4.html)
+--- Thread: Rope goes through collider (/thread-2509.html)



Rope goes through collider - Aento - 24-09-2020

Hi.
I have two wheel, when I try to stretch rope between them, rope start to go through wheel(mesh collider) and finally just fall down.
I there any way to prevent this.
[attachment=785]


RE: Rope goes through collider - josemendez - 25-09-2020

(24-09-2020, 09:38 PM)Aento Wrote: Hi.
I have two wheel, when I try to stretch rope between them, rope start to go through wheel(mesh collider) and finally just fall down.
I there any way to prevent this.


This is inherent to the fact that Obi is a particle-based engine. If you overstretch the rope, gaps will open in between particles trough which any collider can pass. This is easy to visualize if you add a ObiParticleRenderer component to your rope.

Though using more substeps will improve behavior, there's no way to prevent this in all cases. You should not force the rope to stretch beyond its rest length (in the real world, the rope would break and fall anyway).