25-05-2021, 10:21 AM
(24-05-2021, 02:19 PM)josemendez Wrote: Hi,
Sure. Just set the position of the particle, in addition to setting its radius.
Say the radius of the particle was originally 1, and is now 1.5 after bulging. You can move it 0.5 unitsĀ (newRadius - oldRadius) in any direction perpendicular to the local tangent vector to achieve this effect.
When I set particle positions the rope shakes terribly, I assume this is because the solver pulls those particles back. Is that correct? If so, is there a way to counteract this?
We have distance, bending and particle collisions constraints enabled in our solver in case that matters.
Thank you again!