Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help  Rope goes inside collider when stretched
#3
(14-10-2021, 07:43 AM)josemendez Wrote: Hi,

It passes trough the collider simply because you're overstretching it.

Ropes are made of a fixed number of particles, and have a certain rest length. If you force the rope to stretch past its length, particles will separate from each other and leave gaps in-between trough which other objects can pass. If you add a ObiParticleRenderer component to your rope, particles will be rendered and this issue will become obvious to the naked eye.

Use a dynamic attachment to attach the rope to the sphere, and use forces to move the sphere. This will allow the rope to apply forces on the sphere once it's completely stretched, and resist being arbitrarily stretched. It's important for the attachment to be dynamic. Otherwise, the rope won't resist stretching. See:
http://obi.virtualmethodstudio.com/manua...ments.html


Thanks for the answer, actually the attachment is dynamic, Can I make rope longer when I'm stretching it, to avoid overstretching? So Rope will become longe and there will not be overstretching case?
Reply


Messages In This Thread
RE: Rope goes inside collider when stretched - by davidsedrakyan - 14-10-2021, 10:36 AM