25-05-2021, 12:32 PM
(This post was last modified: 25-05-2021, 12:34 PM by josemendez.)
(25-05-2021, 12:29 PM)xkalibrx Wrote: Perhaps you misunderstood your first advice on this matter and began to move what was not needed))
We have a radius of certain points. as the radius increases, it increases in both directions. We need to do this if the player moves his finger towards the wall. The bulge on one side increased, and on the other it decreased. Of course, within reasonable limits, which we can customize.
That's basically what particles do by default. The bulge will move according to what it is colliding against, eg: if it has a wall on its right side, it will move to the left. The right side of the rope will be flat against the wall, and the left side will bulge out.
As I pointed out, particle radius is the collision radius. If you've changed the radius, this is the behavior you'll get by default (unless you've got collisions deactivated).