Obi Official Forum
Bug / Crash Bug when increasing rope's length in RopeGrapplingHook Scene - 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: Bug / Crash Bug when increasing rope's length in RopeGrapplingHook Scene (/thread-4411.html)



Bug when increasing rope's length in RopeGrapplingHook Scene - JeanLaigri - 18-11-2024

Hi there, I’ve encountered an issue in my project related to rope behavior, and while troubleshooting, I tested it in the RopeGrapplingHook example scene provided with the package. This scene is similar to what I’m trying to achieve, and I noticed that the same issue occurs there as well. 

Here’s the problem: 

When increasing the length of the rope beyond a certain value, the rope becomes completely rigid, behaving like a solid object rather than a flexible rope. 

To help illustrate, I’ve recorded a video demonstrating the issue. I tested this in a fresh Universal 3D Project using Unity 6000.0.23f1, with the package imported via the Package Manager. 

Video

Does anyone have any insights or suggestions on why this is happening and how to fix it? 

Thank you in advance!


RE: Bug when increasing rope's length in RopeGrapplingHook Scene - josemendez - 19-11-2024

Hi,

This is the expected behavior: your rope's blueprint ran out of pooled particles. Since all particles in the pool have been used and no more particles are available, the rope just increases the length of its last segment without inserting new particles.

A warning box in the manual explains this: http://obi.virtualmethodstudio.com/manual/7.0/ropecursor.html

Quote:Increasing the length of a rope using ObiRopeCursor will use particles from the blueprint's particle pool. Ensure the pool is large enough (by setting the blueprint's "pooled particles" property) to achieve the desired maximum length. When decreasing the rope's length, unused particles will be returned to the pool.

Increase the size of the particle pool to allow for more particles to be created.

let me know if you need further help,
kind regards


RE: Bug when increasing rope's length in RopeGrapplingHook Scene - JeanLaigri - 19-11-2024

(19-11-2024, 08:49 AM)josemendez Wrote: Hi,

This is the expected behavior: your rope's blueprint ran out of pooled particles. Since all particles in the pool have been used and no more particles are available, the rope just increases the length of its last segment without inserting new particles.

A warning box in the manual explains this: http://obi.virtualmethodstudio.com/manual/7.0/ropecursor.html


Increase the size of the particle pool to allow for more particles to be created.

let me know if you need further help,
kind regards
Thank you for your response ! I was hoping it would be something like this. Thanks again for taking the time to answer my question. 

The takeaway: always read the documentation