Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help  Link two Obi objects with Rope
#4
(10-03-2018, 07:41 PM)matchalover Wrote: I don't want the rope to slips out of the sphere. I want to simulate like the video in this link, with ObiCloth for the pink thing and ObiRope for the rope. Can you give any suggestion?
https://vimeo.com/96087404

Hi there,

This is not possible to achieve with ObiRope or ObiCloth, at least not with the functionality provided out of the box.

There's nothing that prevents a rope to exit a solid collider, in fact quite the opposite: collision constraints are designed to ensure rope particles stay outside of colliders when possible. Simply moving the rope trough a sphere will not automagically sew trough it.

What you're looking for (suture simulation) should be implemented as a position -or velocity- constraint. You should look into how is this implemented in surgical simulators, then write your own code to implement this functionality. However it will be a pretty daunting task if you're not used to physics programming.

Here's some papers to get you started. The first paper contains math for sliding point and sliding direction constraints, which are used to implement the sutures. You can use these equations to work out the forces you need to apply to the rope particles in order to satisfy the constraints:

https://pdfs.semanticscholar.org/d390/33...71df6c.pdf
https://pdfs.semanticscholar.org/b4b5/75...dd4c0f.pdf

kind regards,
Reply


Messages In This Thread
Link two Obi objects with Rope - by matchalover - 10-03-2018, 03:35 PM
RE: Link two Obi objects with Rope - by josemendez - 10-03-2018, 08:34 PM