Jump to content

Dynamically add Wire Spring Constraints based on distance


sessionbeer

Recommended Posts

Hello, 

Could some please help me with working out how to set up a scene where by wire spring constraints are created dynamically based on a distance threshold. I have currently set up a simple scene where I have a bounding box creating a 'spring' group in Sops, but the group does not update in Dops. I have done a lot of searching but haven't found anything related to this, or can't work out how to re-engineer different scenes for this task? 

I've found this in the documentation: 
 

The Glue Adjacent Pieces shelf tool creates a glue network between adjacent pieces for you automatically using a constraint network. Expert users can create the network geometry manually to achieve other effects, such as linking pieces based on some criterion other than proximity. 

 


Expert users can modify the constraint_name (which specifies a piece of relationship data by name, such as Glue or Spring) on various lines using animation or a SOP solver, to dynamically switch between glue and spring constraints

It's a little frustrating as I'm obviously not an 'Expert' user, but would really like to achieve the effect of dynamically adding wire Spring constraints based on distance. I kindly ask, could someone give me some advice or point me in the right direction? Thanks 

add_spring_constraints_01.hip

Edited by sessionbeer
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...