Jump to content
Gabriel_Wolf

How to make a group as an exception in primitive wrangle

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

Share this post


Link to post
Share on other sites

putting !steadyropegroup in the group field of the primwrangle should do it

Share this post


Link to post
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()

       }

}

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×