Jump to content

How to make a group as an exception in primitive wrangle


Gabriel_Wolf

Recommended Posts

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. 

bridge1.jpg

bridge2.jpg

Link to comment
Share on other sites

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()

       }

}

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...