Help Ropes are really wiggly and stretched out - 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 Ropes are really wiggly and stretched out (/thread-2819.html) |
Ropes are really wiggly and stretched out - daniaalazmat - 21-03-2021 Hi,
I am using ObiRopes in my project and I really loved the asset in action (In the sample scenes I mean), but I tried to implement it in my scene but I am kind of struggling with making it work realistically as possible but I was not able to make it work realistic enough Thanks, Daniaal RE: Ropes are really wiggly and stretched out - josemendez - 22-03-2021 (21-03-2021, 12:30 PM)daniaalazmat Wrote: To reduce wigglyness, increase the ObiSolver's damping parameter. See:http://obi.virtualmethodstudio.com/tutorials/obisolver.html To decrease stretching, use more substeps in the ObiFixedUpdater: http://obi.virtualmethodstudio.com/tutorials/convergence.html I can't really give more advice without knowing more details about your setup, though. The meaning of "realistic" might vary depending on what you're after. I'll be glad to help if you give a more detailed description of what your'e trying to achieve. RE: Ropes are really wiggly and stretched out - daniaalazmat - 26-04-2021 (22-03-2021, 10:37 AM)josemendez Wrote: To reduce wigglyness, increase the ObiSolver's damping parameter. See:http://obi.virtualmethodstudio.com/tutorials/obisolver.html Thank you for getting back to me. I also wanted to know whether there is a way to increase the size of the rope. What i am currently trying to do is make the player to grab one end of the rope and then keep pulling it which should increase the length of the rope. And one more question i wanted to ask is that is there anything for checking whether the rope is being streched than normal. On which i want the rope to be expected RE: Ropes are really wiggly and stretched out - josemendez - 27-04-2021 (26-04-2021, 10:31 PM)daniaalazmat Wrote: Thank you for getting back to me. I also wanted to know whether there is a way to increase the size of the rope. What i am currently trying to do is make the player to grab one end of the rope and then keep pulling it which should increase the length of the rope. You can use a cursor: http://obi.virtualmethodstudio.com/tutorials/ropecursor.html (26-04-2021, 10:31 PM)daniaalazmat Wrote: And one more question i wanted to ask is that is there anything for checking whether the rope is being streched than normal. On which i want the rope to be expected Sure. You can calculate strain as the ratio between current length and rest length: Code: float strain = rope.CalculateLength()/rope.restLength; a strain value of 1 means the rope is not stretched or compressed. >1, stretched. <1, compressed. |