Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Reset Rope Length without Physics
#3
(17-10-2023, 06:28 AM)josemendez Wrote: Hi,

You can remove the rope from the solver, clear its state, then add it back:

Code:
rope.RemoveFromSolver();
rope.ClearState();
rope.AddToSolver();

This will reset the rope to the state defined by its blueprint.

kind regards,


Thank you for the quick response. I have tried it and it looks good so far.
Reply


Messages In This Thread
Reset Rope Length without Physics - by vrtraining - 17-10-2023, 05:33 AM
RE: Reset Rope Length without Physics - by vrtraining - 17-10-2023, 06:58 AM