Obi Official Forum
Wrap rope on Editor - 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: Wrap rope on Editor (/thread-2778.html)



Wrap rope on Editor - tpaslou - 01-03-2021

Hello 

Is there an easy way to manipulate rope shape on editor ? Anything that I am missing apart from adding many points to the path ?

I want to achieve something like that : https://images.app.goo.gl/1cKeZUpFnF6Y7v7g9


RE: Wrap rope on Editor - josemendez - 01-03-2021

(01-03-2021, 11:05 AM)tpaslou Wrote: Hello 

Is there an easy way to manipulate rope shape on editor ? Anything that I am missing apart from adding many points to the path ?

I want to achieve something like that : https://images.app.goo.gl/1cKeZUpFnF6Y7v7g9

Not really...I can't think of an easier way to define a curve than using béziers. It's the way curves are defined in literally all 2D/3D software I've ever come across.

No need to add *many* control points though, a few ones should be enough as long as you use the tangent handles to approximate the shape you need.


RE: Wrap rope on Editor - tpaslou - 01-03-2021

Okay , it needed a bit of experimenting to get it done Lengua
Another question. The rope on some parts avoids ground collider. How can I fix that ? I have enabled surface collisions

Edit: Nevermind , I changed ground to box collider and it worked


RE: Wrap rope on Editor - josemendez - 01-03-2021

(01-03-2021, 03:31 PM)tpaslou Wrote: Okay , it needed a bit of experimenting to get it done Lengua
Another question. The rope on some parts avoids ground collider. How can I fix that ? I have enabled surface collisions

Depends on what kind of collider you're using for the ground, and why did the rope got to the other side on the first place. Generally speaking, MeshColliders are very brittle and expensive, so best avoid them if possible.

Does this happen when moving the rope around? what kind of interaction are you using to move the rope? (dynamic/static attachments, forces, etc)