Jump to content

H17 breaking soft constraints


scorpes

Recommended Posts

Hi, I'm trying to recreate the collapsing buildings from the H17 presentation video. I'm struggling on the part to break the soft constraints. Found a softconstaints example video in the documentation with breaking, but in order to get that to work, you have to use "Attach Internal Constraints to Object" option (network relationship) with a geometrywrangle and removeprim() if torque is above a certain number , for some reason the hard constraints behave differently and I get bad results when I use that option. Anyone else experience with this?

Screenshot_20181129-222303.jpg

Edited by scorpes
Link to comment
Share on other sites

  • 2 weeks later...

I've not looked at that specific example, but to break constraints I typically do it in a SOP Solver wired into the Constraint Network DOP.  Then in the SOP Solver, connect the relationship_geometry > Primitive Wrangle > Output SOP.  In the Primitive Wrangle you can set @group_broken=1; based on some condition.

It's worked fine for me in my Soft Constraint tests.   :-)

  • Thanks 1
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...