Jump to content
dtarr77

Vellum Dynamic Constraints Question

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

Share this post


Link to post
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

Share this post


Link to post
Share on other sites

Hey Noobini,

Thanks for replying! I'll check the file out when I get back to my computer on Monday. 

Share this post


Link to post
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! :)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×