ch3 Posted July 17, 2015 Share Posted July 17, 2015 Hi, I have an object broken with voronoi and I output clusters of the pieces as a constrain network to use for glue in the RDB simulation. I want the clusters that drop past a certain height to lose their glue constraints, so I can create an effect that the pieces are breaking down to smaller pieces. All the examples I've seen on tutorials about breaking glue constraints are with objects that don't move in space, which seems to be an easier case scenario. I still haven't managed to work out a good working method for that. It seems my problem is that I can't bring the simulated geometry back to the geometry solver that is responsible for deleting constraints below my threshold, or I do something wrong with matching the points of the constraint network to the simulated geometry. I put together a simple test file. The goal is to keep the pieces that land on the first step clustered and the ones that fall further down break into the smaller pieces. Right now when one piece travels past the threshold, all of them release. thank you RBD_breaking_glue.hip Quote Link to comment Share on other sites More sharing options...
davpe Posted July 17, 2015 Share Posted July 17, 2015 hi, havent seen your file attached, anyway, wouldnt it work if you create a bounding box in a space and anything that enters it will loose its glue constrain and breaks apart? Quote Link to comment Share on other sites More sharing options...
ch3 Posted July 17, 2015 Author Share Posted July 17, 2015 yeah sure, I guess you mean use a bounding box in a group node to add to the broken group. But what does that feed to? How do you set this up? Quote Link to comment Share on other sites More sharing options...
davpe Posted July 18, 2015 Share Posted July 18, 2015 you can attach delete SOP with bounding box defined after "Connect Adjacent Pieces". thats it. any glue connections that enters the bbox volume will be deleted. Quote Link to comment Share on other sites More sharing options...
sho Posted July 18, 2015 Share Posted July 18, 2015 I think you wanna use current point number(@ptnum) in removepoint() rather than match_pt since you queried p using current @name in findattribval(). RBD_breaking_glue_mod.hipnc Quote Link to comment Share on other sites More sharing options...
ch3 Posted July 20, 2015 Author Share Posted July 20, 2015 hmmm ok... yeah that works better. I am using findattribval and match_pt, because for some reason in the setup of the actual shot it doesn't take in account the 0 strength glue primitives, which I have to delete prior of using them into the sim , which means the topology doesn't match anymore between the network and the packed primitives. So I will probable re-visit that problem and see how I can fix it. thank you for pointing this out 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.