Hey everyone!
I’m trying to create a gpu rope simulation in UE 5.1. I followed this tutorial to get the basic behaviour down. With only one anchor point there were no collision or physics problems.
Afterwards, I introduced a vector that controls the position of the final particle, the distance between particles is calculated from the distance between origin and final point. The final point ignores physic forces the same way the origin does. Now, I wanted to introduce collision. This is the part that I’m stuck on. If the particle system isn’t moved the built-in collision (distance field-based) works fine. But once the final point moves during runtime it’s all over the place.
I found a post on here that details a system that’s pretty similar and the collision problem was solved with the help of a custom module, however that approach didn’t improve my case, unfortunately.
First part without Collision, at this stage it looks right but of course there is no collision. Second part with built-in collision and third part with custom Collision. Both work with the small rope on the ground (although the custom behaviour doesn’t work as well as the built-in one in that case) but both have issue when the end point is moved.
Does anyone know what could cause this weird behaviour? Or has anyone here successfully implemented collision on a rope sim with two anchor points and could give me pointers how to achieve the right behaviour?