Max distance in distance constraint?
Is it a good idea to modify imstkPbdDistanceConstraint.cpp to set a maximum distance, and break/destroy the constraint like if it has been torn when the distance is bigger than the setted maxDistance?
Like this: https://youtu.be/c-fJcneHQXQ?t=9 (This is not PBD, but is the effect I want to achieve).
How will it affect to the mesh and the UV? I'm asking before trying, but I can try to do it with any problem if you think it is a good idea. (I'm using iMSTK for Unity but the code modification would be inside the.cpp so I'm posting here the issue).