08-02-2022, 09:54 PM
(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.