Normally if a wire is constrained to an RBD, the rbd isn't affected by the wire at all. Which is annoying ... but I had an idea to get it to work. the wire solver can store the internal forces on the geometry. In DOPs I made a point force, the position is set to the position of the constraint and the force is the wire's internal (linear) force. I have put a sopnet in the dopnet to get the wire and the constrained point so I can reference them in the point force. It could be simpler with a python expression to get the position and force directly without going through the sopnet, but this is just a little test...
For multiple attachment points, I think a copy data node could be uses to copy the point force data for each constrained point ...
hip file here
Wire to RBD feedback forces from Sam Hancock on Vimeo.

Back in houdini 8 (and 9 maybe), this worked out of the box with just a rbd constraint >.< With the new solvers, stuff like rbd/cloth mutual interaction doesn't work.
ReplyDeleteGreat blog btw sam!!!