Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help  Ropes are really wiggly and stretched out
#1
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
Reply
#2
(21-03-2021, 12:30 PM)daniaalazmat Wrote:
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

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/tutor...gence.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.  Guiño I'll be glad to help if you give a more detailed description of what your'e trying to achieve.
Reply
#3
(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
To decrease stretching, use more substeps in the ObiFixedUpdater: http://obi.virtualmethodstudio.com/tutor...gence.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.  Guiño I'll be glad to help if you give a more detailed description of what your'e trying to achieve.

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
Reply
#4
(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/tutor...ursor.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.
Reply