Jump to content

Vellum Dynamic Constraints Question


dtarr77

Recommended Posts

Hello houdini wizards! 

I am playing with Vellum and trying to get the dynamic glue constraints to work. The documentation is about 1 very small section and I did what it said to (like creating the glue inside the solver and setting the Create Constraints drop down to Each Frame) but it does not grab the cloth.  I played with distances and groups but no luck. 

I don't have a specific scenario at the moment so no scene file really that cant be set up in 2 minutes, just a grid as the cloth object, a sphere (fed into the collision input at the sop level) that dips down close the grid and then moves back up.  The intention is to have constraints be created to grab the cloth within the set distance, pick it up, pull it, and then release/break the constraints when I want/need to.  The breaking I can assume is pretty simple using the broken attribute in the Constraint Properties but I cannot seem to dynamically create constraints to grab the cloth/grid.  Any help or knowledge you can give is much appreciated! 

I was unable to find any example files on the subject either but I did see the demo of it being done (https://vimeo.com/313872854) around 24:50. And again, thanks in advance for any advice you can give!

 

Edited by dtarr77
Link to comment
Share on other sites

So I got it to work due to my coworker coming across Rohan Dalvi's recent tutorial that I missed where he is able to get it to grab an object and release it. 

I was able to use the vellum constraint property node to release it more manually using vex but it is a bit frustrating that to have the object grab the cloth it has to be an actual vellum object within the simulation where the cloth could potentially collide with it. If anyone finds a way to get it to work without the glue object being able to collide with the cloth or vice versa please do not hesitate to post. I will post an example file below of my simple test just in case it is useful to anyone.

 

 

glue_RnD.hip

Edited by dtarr77
  • Like 1
Link to comment
Share on other sites

Hey Noobini,

I got to check out your file, thanks so much for sending it!  It's a different way then I was getting it to work which is always awesome to see alternate routes.  Mine was using the SOP version but I like seeing the DOP side and how to implement it.  I definitely learned a couple things looking at it like utilizing the break threshold with the constraint properties.  I appreciate the help! :)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...