Obi Official Forum
ship rope - 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: ship rope (/thread-2219.html)



ship rope - 3dship - 02-05-2020

Hi,


How can I set the rope to hold the ship? When the ship moves, the rope is stretched and does not hold the ship. I also want to use it in towing operations. 

In addition how can I set the rope length to make a longer or shorter rope ? I looked at the example scenes but I couldn't figure it out. 


Thank you

[Image: PMguER.jpg]


RE: ship rope - josemendez - 02-05-2020

(02-05-2020, 04:49 PM)3dship Wrote: Hi,


How can I set the rope to hold the ship? When the ship moves, the rope is stretched and does not hold the ship. I also want to use it in towing operations. 

In addition how can I set the rope length to make a longer or shorter rope ? I looked at the example scenes but I couldn't figure it out. 


Thank you

[Image: PMguER.jpg]

Hi there,

To have two-way coupling with a rigidbody, you need to use dynamic attachments:
http://obi.virtualmethodstudio.com/tutorials/attachments.html

To set the rope initial length/rest shape, edit its path by clicking in the "Edit path" button in the inspector:
http://obi.virtualmethodstudio.com/tutorials/ropesetup.html


RE: ship rope - 3dship - 26-05-2020

Thank you

I tried a lot of settings but I couldn't understand where am i doing wrong, the rope always stretches and doesn't hold the ship. 




RE: ship rope - josemendez - 26-05-2020

(26-05-2020, 07:40 PM)3dship Wrote: Thank you

I tried a lot of settings but I couldn't understand where am i doing wrong, the rope always stretches and doesn't hold the ship. 


Both attachments are clearly set to static. You need to switch the one that attaches the rope to the boat to dynamic.