Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help  Tying a Knot in a rope
#1
Sonrisa 
So I want to create a knot in the rope , like the image provided for the Obi rope (see attachment)

Can someone provide me with tips with how to do so at most the ropes overlap  but they don't actually cross. Been trying to figure this out for 2 MONTHS!!!

Be so grateful for some code and directions! 

[attachment=111]
Reply
#2
(02-04-2018, 01:05 PM)pppqqqq Wrote: So I want to create a knot in the rope , like the image provided for the Obi rope (see attachment)

Can someone provide me with tips with how to do so at most the ropes overlap  but they don't actually cross. Been trying to figure this out for 2 MONTHS!!!

Be so grateful for some code and directions! 

Hi,

Just enable self-collisions in the rope, and make sure rope resolution is high enough so that there are no gaps in the particle-based representation. Should be pretty easy to achieve. You can debug the particle representation of the rope by adding a ObiParticleRenderer component.

http://obi.virtualmethodstudio.com/tutor...eters.html
http://obi.virtualmethodstudio.com/tutor...ering.html

Increasing particle collision constraint iterations and distance constraint iterations (in ObiSolver) will make the knots more stable under tension. (however, they will ultimately undo under enough tension)

cheers,
Reply
#3
(03-04-2018, 09:46 AM)josemendez Wrote: Hi,

Just enable self-collisions in the rope, and make sure rope resolution is high enough so that there are no gaps in the particle-based representation. Should be pretty easy to achieve. You can debug the particle representation of the rope by adding a ObiParticleRenderer component.

http://obi.virtualmethodstudio.com/tutor...eters.html
http://obi.virtualmethodstudio.com/tutor...ering.html

Increasing particle collision constraint iterations and distance constraint iterations (in ObiSolver) will make the knots more stable under tension. (however, they will ultimately undo under enough tension)

cheers,
Thanks for replying, 

However, no success! After following what you said, my rope still doesn't create a knot on crossing each other, it acts really jerky and spasticated. 

[attachment=119]

I increased the distance constraint iteration and particle collision constraint collision to 30.

[attachment=120]           

My rope has two Obi Rope handlers as i want to allow the user to create a knot in the rope as they move and manipulate the rope. 

[attachment=121]
Reply