23-02-2023, 11:35 AM
(23-02-2023, 11:26 AM)josemendez Wrote: Hi!
ChangeLength() just sets the length of the rope to whatever you pass to it, as long as the rope has enough pooled particles to reach that length. Make sure the pool size of your rope's blueprint is not set to zero. The default is 100 particles, you can set it higher to preallocate more particles if needed.
See the red warning box in the manual regarding this:
http://obi.virtualmethodstudio.com/manua...ursor.html
kind regards,
I have a pool particle size of 1000.
Unity was just freezing whenever it would try to run the
Code:
set_control()
from the set_control() function, I removed the check condition
Code:
while (c1_len != c1_control_ip)
and directly tried to set the rope length and it worked.
However it just set the rope length instantly and did not change it continuously over time from the current length.
Any idea on how to achieve that.