H17 breaking soft constraints

   7123   3   3
User Avatar
Member
25 posts
Joined: Nov. 2006
Offline
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 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?
Edited by scorpes - Nov. 30, 2018 09:58:44

Attachments:
Screenshot_20181129-222303.jpg (296.2 KB)

User Avatar
Staff
796 posts
Joined: Oct. 2012
Offline
Do you have a scene file for the approach you tried?
User Avatar
Member
7 posts
Joined: Feb. 2016
Offline
Hi…. did you ever find a solution for breaking soft constraints? Trying to do the same for rbd wood fracture material.

Cheers
User Avatar
Member
738 posts
Joined: Dec. 2006
Offline
R0B
Hi…. did you ever find a solution for breaking soft constraints? Trying to do the same for rbd wood fracture material.

Pipe a SOP solver into the third input of the Constraint Network DOP. Inside, add a Primitive wrangle DOP to the last input, (relationship geometry), make it the display SOP.

Use this code, (or something similar… you could use torque, or force, or whatever instead of distance):

if (f@distance > 1 )
    removeprim(0, @primnum, 1);

IMPORTANT: Toggle off “Attach Internal Constraints to Objects” in the constraint network DOP
Sean Lewkiw
CG Supervisor
Machine FX - Cinesite MTL
  • Quick Links