Changing constraints from Glue to Soft and back to Glue

   2713   1   1
User Avatar
Member
134 posts
Joined: Sept. 2021
Offline
Hi!


I'm following this tutorial [youtu.be] on bending metal. The guy uses a SOP solver inside the rigid body solver to switch Soft constraints (Glue constraints that have been broken) back to Glue constraints after a certain amount of time. When I try to implement this with a SOP solver for (Constraint Geometry) setup in Houdini 19.5, I get this error:




Any ideas what I might be missing? Here's my simplified setup for reference.
Image Not Found


Thanks!
Anson
Edited by AnsonSavage - June 16, 2023 19:19:22

Attachments:
2023-06-15_14-07_1.png (406.9 KB)
2023-06-15_14-09.png (194.2 KB)
Glue_To_Soft_Constraints.hipnc (943.5 KB)

User Avatar
Member
134 posts
Joined: Sept. 2021
Offline
I figured it out! Oof, this was really tricky and confusing...

The main thing I had to do was to switch the sop solver type from sopsolver::2.0 to the previous version of the sopsolver:


I can't figure out exactly what changed, but it uses object merge on the inside as opposed to DOP imports:


In the dop_geometry node, I had to select the constraint network and I had to set the render flag on the attribute wrangle.

I've attached the updated HIP file. I'm still not sure exactly what I messed up on or why changing things this way fixed it, but it's mostly working now!

Thanks!
Anson
Image Not Found

Attachments:
2023-06-16_17-13.png (9.3 KB)
2023-06-16_17-14.png (48.8 KB)
Glue_To_Soft_Constraints_Fixed.hipnc (728.2 KB)

  • Quick Links