Jump to content

Vellum SOP solver rest length Switch


circa23

Recommended Posts

 

Hi

I have a basic scene in which I have animated the rest length of vellum objects using a SOP solver. I then switch from the wrangle back to the 'dop geometry' at a certain frame.

What I would really like to do is switch to the 'dop_geometry' when the restlength reaches a certain length. However I'm not sure how to reference this in an expression on the switch.

image.thumb.png.b456cbfcc6a03aefa364cf3794039f21.pngimage.thumb.png.17da184408e2d38e1436f1189f222d71.png

Any help would be very much appreciated.

Thanks

Restlength_Switch.hipl

 
  

 

 

image.png

Edited by circa23
duplicated image
Link to comment
Share on other sites

Since reslength may vary for each constraint prims, switch might not be a good option. Different prim might reach the restlength goal quicker than others. I'd suggest to keep the switching inside a wrangle or vop. When restlength is greater than xxx, then read from an input (you initial contraint setup from sop, perhaps?). You will then need to filter this with a group (or attribute) to prevent the restlength to keep calculating

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...