2
$\begingroup$

I need your help. I have a model that has a cable attached to the back of the head and body. I want the bottom part of the cable attached to the body to follow the body bone and the top part attached to the head to follow the head bone, deforming the bone chain and stretching as the head rotates.

Does anyone know how to do this?

enter image description here

$\endgroup$
  • $\begingroup$ So have you tried my solution? If you've found a better one please tell ;) $\endgroup$ – moonboots Nov 5 at 22:18
  • $\begingroup$ Yes it worked, I had some bugs because I'm using version 2.8 beta, But I did the armature a second time and then it worked without any problem, Thanks for the solution. =D $\endgroup$ – Erick Bueno da Silva Nov 6 at 8:00
  • $\begingroup$ oh ok, because it's not an easy solution so if you had found a simpler I would have been curious to know ;) $\endgroup$ – moonboots Nov 6 at 8:08
2
$\begingroup$

You should use the Stretch To constraint:

  • Build your cable, create an armature, with a small bottom bone, a central bone as long as the cable, and a small top bone that you unparent.

enter image description here

  • Select the armature, go in Edit mode, in the Properties panel > Object Data > Display, choose B-Bone. Select the central bone and in the Properties panel > Bone > Bendy Bones, segment your bone (for example 6).

enter image description here

  • Switch to Pose mode, keep the central bone selected, in the Properties panel > Bone Constraints give it a Stretch To constraint with the same armature as Target and the top bone as Bone.

enter image description here

  • Back in Properties panel > Bone, enable Use Custom Handle References and in the In and Out fields choose the bottom bone and the top bone so that the central bone will bend properly.

enter image description here

  • Parent the cable to the armature With Automatic Weight.

enter image description here

  • Move the top bone, the cable should follow.

enter image description here

  • What you could do to give it the right bend is to put an empty at the exact same position as the top bone, give the top bone a Child Of constraint, then move the empty to where it is supposed to be in the back of the head and parent it to a bone.

enter image description here

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.