breaking wire glue constraints

   5065   2   2
User Avatar
Member
789 posts
Joined: April 2020
Offline
Hello all,

Is there an easy way to break wire glue constraints? Ideally I would like the wires to fall off if the sphere is moving to fast in the attached example (or when the forces are to big).

I did not find any obvious options in the wire glue constraint, is it possible?

Thanks,
Koen

Attachments:
hair.hipnc (105.7 KB)

User Avatar
Member
71 posts
Joined: June 2008
Offline
I have created a simple example for you. You can look at it.
You can use two parameters for control the “glueconstrain”. You can find them on a node called “add_gluetoanimation” in my example.
The parameter “Threshold”: if it's greater than magnitude of velocity, the “glueconstrain” will be off. If it's less or equal than magnitude of velocity , the “glueconstrain” will be on.
The parameter “Rest Frame”: if it's greater than the current frame, the “glueconstrain” will be on.
You should modify these parameters to achieve a desired result.

Attachments:
fall_hairs.hipnc (137.8 KB)

Alexey Mazurenko
User Avatar
Member
789 posts
Joined: April 2020
Offline
Cool, your example made me remember that there are special point attributes the wire solver looks at. (http://www.sidefx.com/docs/houdini11.0/nodes/dop/wireobject) [sidefx.com]

Thanks for taking the time to set up an example!

Koen
  • Quick Links