Obi Official Forum
Feedback Pinholes: new component for ropes - Printable Version

+- Obi Official Forum (https://obi.virtualmethodstudio.com/forum)
+-- Forum: Obi Developers (https://obi.virtualmethodstudio.com/forum/forum-9.html)
+--- Forum: Announcements (https://obi.virtualmethodstudio.com/forum/forum-10.html)
+--- Thread: Feedback Pinholes: new component for ropes (/thread-4455.html)



Pinholes: new component for ropes - josemendez - 28-02-2025

New component coming to ObiRope 7.0.5: ObiPinhole.

This is something that has been requested quite often: the ability to attach a rope to a point while allowing it to slide/pass trough that point - just like a thread passing trough the eye of a needle.

Pinholes implement that and a lot more: they have full two-way coupling with rigidbodies, they're motorized, and you can even define the friction between the rope and the pinhole. They work for ropes and rods, both open and closed/looped, and fully support rope tearing/cutting. Here's the WIP manual page for them, which contains more details and some use cases:

https://obi.virtualmethodstudio.com/manual/7.0/ropepinhole.html

Let me know if you have some feedback, questions or suggestions!


RE: Pinholes: new component for ropes - goosejordan - 03-03-2025

Fantastic news, I will for sure try this out! I know I will need different friction depending on the direction of force, like a ratchet mechanism. Is it easy to modify it to support that?


RE: Pinholes: new component for ropes - josemendez - 03-03-2025

(03-03-2025, 09:21 AM)goosejordan Wrote: Fantastic news, I will for sure try this out! I know I will need different friction depending on the direction of force, like a ratchet mechanism. Is it easy to modify it to support that?

Hi!

Yes, pinholes report the position along the rope they're currently in as well as the relative velocity. You can get the rope's velocity at that point, get its direction, and then use it to drive friction. I will include a sample scene that does this.