MikeRhone Posted June 18, 2016 Share Posted June 18, 2016 Hey guys, Im working on a scene where I have multiple objects that require glue setups - Pretty much a living room: Tables, chairs, television, ornaments etc. I have about 50 items that need to fracture into pieces or sub-components. Right now I'm importing each piece into DOPS separately RBD packed objects (50 or so), and then I am using the glue adjacent shelf button on each of those nodes one by one. This is making a lot of nodes in the scene view and is making my DOPS tree pretty dense and tall - I'm just wondering if this is the most efficiency way to do this. Ultimately, if there is a way to group/tag sets of points which belong to the same object and just have one glue setup that would be ideal. Any suggestions or ideas? Quote Link to comment Share on other sites More sharing options...
tamagochy Posted June 20, 2016 Share Posted June 20, 2016 You can add all constrainrs to one node and add attribute of the glue force for different objects. And you can use only one conctraint network node for all sim. Quote Link to comment Share on other sites More sharing options...
MikeRhone Posted June 20, 2016 Author Share Posted June 20, 2016 (edited) Thanks for the reply Tamagochy - How would I go about keeping 2 different objects separated under one glue network? Say I have an object "table" and and object "chair". How can I say that only chair parts can be glued to other chair parts for example? Edit: I think I may have answered my own follow up question - I have to prep each different piece of furniture in SOPS with its own connectadjacentpieces node, merge them all together then feed that into the constraint network in DOPS. I am having troubles getting the constraints network to respect piping in a SOP that isn't a direct link to the attributeCreate node now though. I may be doing something odd though, so I'll rebuild the network and see if its still happening. Edited June 20, 2016 by MikeRhone Quote Link to comment Share on other sites More sharing options...
DennisSchmidt Posted June 20, 2016 Share Posted June 20, 2016 To simplify the process of setting up the network itself you could have them merged and loop over each object creating the wanted network. One solution would be by grouping the objects with a unique prefix before merging them together and then looping over that group prefix. For example "obj_box", "obj_sphere" and looping through the group mask of "obj_*". Then create the constraint name and type. Now you can proceed as Andrii described. Check the attached hipfile if you get stuck. Hope it helps, Dennis multiple_glue_setup_v01.hipnc 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.