Jump to content

Wire solver angle between hard constraints


stwert

Recommended Posts

I have a number of wires in a wire solver that I want to connect end to end after simulating for a while (snap together essentially by keying group_broken on), but they are currently joining with a pinched angle, instead of straight on. 

1) Does anyone know what determines the angle of the constraint?

  -With some experimentation, it seems it's not determined by the geometry immediately prior to binding, but rather the relative angles of the wires of the initial geometry. I don't want to align the input geometry, but rather change this constraint angle internally.

Image 1 is immediately prior to binding, and image 2 is the bad angled join. If I manually change the input point positions so they're aligned (image 3), then they join straight (image 4).

Any suggestions are appreciated!

Bonus question: With the wire solver, the restlength of the constraint doesn't seem to be respected, it's always 0. Is this a limitation or am I doing something wrong?

hindie_mMEWMmtXAP.png

hindie_ELTiMbAqj3.png

hindie_FjSNYy5wZl.png

hindie_a8PiJhl9vm.png

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