How to get an attribute when a glue constraint is broken

   3076   2   0
User Avatar
Member
65 posts
Joined: Nov. 2013
Offline
Hey,

Anyone know a method of getting an “activation” integer from and rbd sim, showing when a glue constraint it broken?
User Avatar
Member
2537 posts
Joined: June 2008
Offline
Inside your AutoDopNetwork dive into the remove_broken SOP solver attached to the glue network. When a bond is broken it is added to the group broken.

NOTE: You can also re-write what happens in the remove_broken solver and control when bonds break. For instance, ObjectMerge in an effector style object and use an attribute transfer to determine if the effector is close enough to break the bond.

Use the removeprim function in an AttributeWrangle to cause a bond to break.
removeprim(0,@primnum,1);
Using Houdini Indie 20.0
Windows 11 64GB Ryzen 16 core.
nVidia 3050RTX 8BG RAM.
User Avatar
Member
65 posts
Joined: Nov. 2013
Offline
Thanks a lot!
  • Quick Links