Gabriel_Wolf Posted May 14, 2019 Share Posted May 14, 2019 Hello, Can I get a little help please? I have an RBD simulation where a bridge's rope breaks. The first part is a glue contraints then it turns into soft constraints then I remove the primitives to break the soft contraints. But I have a part of the rope I don't want to break. So I put it into a group. How can I add that group into my primitive wrangle inside my sop solver as an exception. I mean I would like to break all the constraints ( primitives) except the ones in the group. Thank you. Quote Link to comment Share on other sites More sharing options...
3dome Posted May 14, 2019 Share Posted May 14, 2019 putting !steadyropegroup in the group field of the primwrangle should do it Quote Link to comment Share on other sites More sharing options...
Gabriel_Wolf Posted May 14, 2019 Author Share Posted May 14, 2019 (edited) It doesn't work. Edited May 14, 2019 by Gabriel_Wolf Quote Link to comment Share on other sites More sharing options...
Jesper Rahlff Posted May 14, 2019 Share Posted May 14, 2019 you are checking against distance and torgue already in your if statement, why not check if its in the group as well? if(i@group_steadyropegroup == 0) { if(distance > 0.8 || f@torgue > 2) { removeprim() } } Quote Link to comment Share on other sites More sharing options...
Gabriel_Wolf Posted May 15, 2019 Author Share Posted May 15, 2019 Thank you. It is working 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.