- Home /
Problem with Hinge Joint making rope
Hello every one. I've entered unity world a few months ago. I've been clear some project with unity easily. In recent my project I have to make a rope like chain.
I read some articles and make it with Hinge Joint.
Problem: Smaller count of joints it works well. But if it over one hundreds of joint, it loses it's safety.
Progress: So I have been looking for solve this problem, but I can't find its perfect solution.
How can do this? How can I solve this problem. thank you for read my article.
Here's my Project
Answer by tjdunkinson · Jun 08, 2013 at 12:47 AM
Hi there I, like many and yourself have attempted making ropes in unity, and to get them right its pretty difficult, I attempted using hinge joints however I decided to put 3 on one rigid body so they could rotate in anyway I like, sadly this failed.
I have best achieved a rope liked result with two solutions;
A string of Configurable joints, CJs look incredibly complex at first, but if you connect a whole bunch together, then they are pretty good.
Springs & Fixed, One experiment tried was having a 2 gameobjects, one with a spring joint, another with fixed joint, you can put them in either order, but those two together work pretty nicely. I came across this solution when I was trying to add a chain of spring joints...and well the results were hilarious but not much like ropes at all, as the movement and bounce of the spring is multiplied down to next, and then the next. It works well because the sprint will give you your pivot and movement, and the fixed on will stabilize the movement of the next link.
I didn't get to see your project of what you were working on, but I hope this helps, should you ever see this