bandini Posted May 30, 2010 Share Posted May 30, 2010 I'm trying to figure out how to dynamically add and subtract points from the SBD Pin or Spring constraints using cloth. I have gone in and hacked the asset to enable evaluation every frame, but the constraint does not seem to update. Any ideas? The other thing I have noticed with SBD spring is that if I have many points pinned with the constraint, and I want to enable breaking of the constraint using a maximum force or length is that when one spring exceeds the threshold they all break. Any way to get it so that each spring makes its own evaluation of when it should break? Quote Link to comment Share on other sites More sharing options...
bandini Posted May 31, 2010 Author Share Posted May 31, 2010 Should add that it seems to work when animating the point group in DOPS, but not when that group is set up through sops. I have enabled the options in the cloth solver to support topology changes and also tried the pin to animation option, which seems to update the constrained points but not the constrained-to points. Quote Link to comment Share on other sites More sharing options...
bandini Posted June 4, 2010 Author Share Posted June 4, 2010 Any info? Anyone else try to do this before or am I all alone out here? Quote Link to comment Share on other sites More sharing options...
bandini Posted June 4, 2010 Author Share Posted June 4, 2010 I was able to solve my problem through some other means, but I would still like to find an answer to the questions I posed. In the meantime, here's a sample movie of the effect I was trying to achieve: ClothErode_Test_01.mov This is done through SOPS with the spring sop. More research showed that I can do this through DOPS by putting a pintoanimation point attribute on my geo in SOPS and animating the value. Funny thing is that when you do that you do not need to use a cloth constraint at all in DOPS. Quote Link to comment Share on other sites More sharing options...
bandini Posted June 4, 2010 Author Share Posted June 4, 2010 And this is how it looks when the effect is done in DOPS with the cloth solver, which I think looks more natural. Had to stop the sim short of the last one because the solver was not too happy for some reason and sim times skyrocketed from a couple seconds a frame to a few minutes. ClothErode_Test_02.mov Quote Link to comment Share on other sites More sharing options...
ikarus Posted June 4, 2010 Share Posted June 4, 2010 closest thing i could think of was this example file someone posted in response to a similar question the idea is u use an apply relationship dop with pins and a number of objects to have an a pin for each object multipin_pivots.hip Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.