circa23 Posted July 12, 2021 Share Posted July 12, 2021 (edited) 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. Any help would be very much appreciated. Thanks Restlength_Switch.hipl Edited July 12, 2021 by circa23 duplicated image Quote Link to comment Share on other sites More sharing options...
ftaswin Posted July 13, 2021 Share Posted July 13, 2021 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 Quote Link to comment Share on other sites More sharing options...
circa23 Posted July 13, 2021 Author Share Posted July 13, 2021 Ahh good shout, I didn't think about the difference in prims! Thanks for your help. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.