Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Rope Enable/Disable
#2
(04-07-2017, 10:43 AM)PhantomBadger Wrote: I'm attempting to disable/enable the rope at runtime, I'm correctly disabling/enabling the Obi Rope object, the two anchors at either end, and even the solver, however, upon enable the rope then starts flying around violently, either crashing Unity or flying out of the room into the abyss.
Is there a function or anything I should be calling/doing after re-enabling the rope to allow it to settle properly.

Hi PhantomBadger,

If your rope has rigidbodies attached to its ends, or it is attached to something that moves while the rope is disabled via handles, it will have to keep up with the movement after you re-enable it. If this movement is large enough this can inject high velocities in the rope, which make it overshoot.

Without more details on what your setup is, I can't really go into details about how to solve the issue.

cheers!
Reply


Messages In This Thread
Rope Enable/Disable - by PhantomBadger - 04-07-2017, 10:43 AM
RE: Rope Enable/DIsable - by josemendez - 04-07-2017, 11:20 AM
RE: Rope Enable/DIsable - by PhantomBadger - 04-07-2017, 01:01 PM
RE: Rope Enable/DIsable - by josemendez - 04-07-2017, 04:54 PM
RE: Rope Enable/DIsable - by PhantomBadger - 05-07-2017, 09:51 AM
RE: Rope Enable/Disable - by PhantomBadger - 10-07-2017, 10:24 AM