Obi Official Forum
Help How to make a rope turning at a point ?? - Printable Version

+- Obi Official Forum (http://obi.virtualmethodstudio.com/forum)
+-- Forum: Obi Users Category (http://obi.virtualmethodstudio.com/forum/forum-1.html)
+--- Forum: Obi Rope (http://obi.virtualmethodstudio.com/forum/forum-4.html)
+--- Thread: Help How to make a rope turning at a point ?? (/thread-3109.html)



How to make a rope turning at a point ?? - webmagic - 29-09-2021

Hi Obi

I want to Pull a rope from A to C but turn at B, as attached.  

So how to make a rope turning at a point at runtime.

https://drive.google.com/file/d/1TB2_WLEK7hJy-BTdWQIdL2HuIVpbgArD/view?usp=sharing


RE: How to make a rope turning at a point ?? - josemendez - 29-09-2021

What do you mean "turning at a point"? Do you mean just grabbing the rope and pulling it at runtime so it becomes curved? You can use the ObiParticlePicker/ObiParticleDragger components for this. They will let you pick and drag any particle along the rope at runtime using your mouse.

If you need more advanced interaction, you can directly access particle properties (positions, velocities, etc) to build your own interaction logic. See:
http://obi.virtualmethodstudio.com/manual/6.2/scriptingparticles.html