Obi Official Forum
Help Cylinder collision problem. - 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: Help Cylinder collision problem. (/thread-3515.html)



Cylinder collision problem. - sahin49 - 03-07-2022

First of all, I apologize for my bad english. I'm translating with Google Translate. 

I create a piece of string on stage. I want to wrap around a cylindrical object. 
I added obi collider to the cylinder object. In doing so, the string passes through the object. 
I activate the surface collision feature, but the thread continues to pass through the object.


RE: Cylinder collision problem. - josemendez - 06-07-2022

(03-07-2022, 08:57 PM)sahin49 Wrote: First of all, I apologize for my bad english. I'm translating with Google Translate. 

I create a piece of string on stage. I want to wrap around a cylindrical object. 
I added obi collider to the cylinder object. In doing so, the string passes through the object. 
I activate the surface collision feature, but the thread continues to pass through the object.

Hi there,

I just read your email, also answering you here for convenience:

Is your character a rigidbody? If it isn't, then the rope cannot prevent him from moving when it is completely tense (since the character is not part of the simulation, and cannot receive forces). As a result, the rope has no other choice but to skip collisions with the cylinder (and any other objects in its path) in order to follow the character around.

See the "WrapTheRope" sample scene for reference on how to implement this.