Help ObiRope Moving Towards control Point - 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: Help ObiRope Moving Towards control Point (/thread-3024.html) |
ObiRope Moving Towards control Point - jabraman - 16-07-2021 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! RE: ObiRope Moving Towards control Point - josemendez - 19-07-2021 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. |