aley Posted February 23, 2017 Share Posted February 23, 2017 Hi all, Im trying to create constraints between packed primitives that are emitted into dop, the teapot example that comes with Houdini would be a good example of this, but then I want to create constraints between these primitives. I've been through a few post on this forum but still really struggling to get my head around constraints, especially as most examples have constraints already set at sop level. Ive tried using a sop solver inside the dop to bring in the the packed prims and create a constraint network, Im sure thats the way to go but struggling to get it it work. Any help would be welcome thank you. I have attached a capture from cinema 4d that illustrates the effect I am trying to achieve. preview.mov teapot.hip preview.mov Quote Link to comment Share on other sites More sharing options...
trzanko Posted February 27, 2017 Share Posted February 27, 2017 (edited) A sop solver is "sop level". You can add constraints to the relationship geometry in a sop solver and you can point to this as the new constraint network. Keep in mind you need to update the attribs and add the new piece of geometry to the simulation as well. Hope this helps! Edited February 27, 2017 by trzanko Quote Link to comment Share on other sites More sharing options...
rich_lord Posted February 27, 2017 Share Posted February 27, 2017 (edited) Heres an example. This stuff is tricky to do in Houdini, but is really amazing once you wrap your head around it. I create a sphere in SOPS. Pack it and give it a unique name and velocity(v) Then, in DOPS, in a SOP Sover, I bring a new sphere in every so often using an Object Merge. In the same SOP Solver I build a constraint, name each point correctly and set all the attribs up correctly. They go out the OUT_CON null. Then I read that into the Constraint Network There's a million ways to do this, this is the method that works well for me, and has proved most flexible so far. 17_02_27_spawning_constraints_b.hiplc Edited February 27, 2017 by rich_lord 3 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.