Obi Official Forum

Full Version: ObiRope Moving Towards control Point
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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!
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.