Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help  Changing rope length using variable
#3
(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.
Reply


Messages In This Thread
RE: Changing rope length using variable - by rohit_dhak - 23-02-2023, 11:35 AM