Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help  Obi rope in combination with joints stretches the rope infinitely
#5
(06-02-2022, 12:12 PM)josemendez Wrote: This code basically tells your character: "discard your current velocity, which might be the result of external forces/accelerations such as gravity, wind, drag, other joints, pulling forces applied by the rope, etc. and replace it with this vector". As a result, your character will move according to user input and ignore everything else. This way, only kinematic interactions will work (things that modify the character position directly, such as collisions).

If you want to keepĀ  the effect of external forces (this includes the rope), you want to modify the current velocity, not replace it. Either use +=, or use AddForce().

kind regards,

Thanks! Really appreciate the response, I had no idea it worked this way, I'll try to rework the movement script.
Reply


Messages In This Thread
RE: Obi rope in combination with joints stretches the rope infinitely - by jsladovic - 08-02-2022, 09:54 PM