Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help  ObiRope Moving Towards control Point
#1
Hello,

I use Obi Rope and I'm dynamically instantiating an ObiRope (2 control points) between 2 cube rigid bodies. During runtime, if I slightly move one end (the cube) the other end moves towards it like a magnet. How do I control that?

Thanks Admin!
Reply
#2
Hi there,

Are you using static or dynamic attachments? How are you instantiating the rope? are you just instantiating a prefab or programmatically creating the rope?

Based on your description of the issue, it would seem to me that you're instantiating a pre-existing rope between two rigidbodies, and the length of the rope is simply shorter than the distance between the rigidbodies. So they'd jump to each other as a result of the rope pulling them together. Try making sure the length or the rope is at least the distance between the bodies.
Reply