0
$\begingroup$

I have a question about trying to hook object ends. The idea is to link an air hose to the valve of a dive tank on one end, and have it link to the mouthpiece on the other end. Both work fine when tilting an armature in one direction, however the end that attaches to the tank valve stretches in both directions so if I move the neck to right the hose moves correctly, but if I move the neck to the left it bends the hose at the hook point which is very unrealistic behavior. The mouthpiece is already locked to the applicable bone as is the dive vest on which the tank is mounted as part of the overall object for that. Is there any way to anchor the end of the hose that connects to the tank valve so that it doesn't bend in the wrong direction when the armature's neck moves?

$\endgroup$
2
  • 1
    $\begingroup$ Can you provide more details including some images if possible. It would also be useful if you could share your Blend file via blend-exchange.com following the instructions there to copy the link to your question into the field on that page and it will then appear in your question. $\endgroup$
    – John Eason
    Commented Aug 18, 2023 at 21:00
  • $\begingroup$ Here you go. $\endgroup$ Commented Aug 19, 2023 at 0:52

1 Answer 1

1
$\begingroup$

Might I suggest that you use a Bezier curve for the hose instead? because the hose in your blend seems to be a regular mesh.

You can create a Bezier curve (Add > Curve > Bezier) that consists of preferably two points to make it easy. You can hook those two points to the two separate objects/bones/vertexes you want to connect. (in this case, the two objects would be the Valve and the Mount Piece)

This way, the hose will bend, deform and rotate properly. If you have more points, you ultimately have more control. For example, adding a third point somewhere in the middle of the two points and hooking that to a new object allows you to control the middle area of the house separately.

I've experimented with it and the results I got seem like what you're looking for after checking out the blend you've provided. see below

v Resting (not rotated or moved) v enter image description here

v Rotated and moved it v

enter image description here

v EXAMPLE: New point added and hooked to another new object v

enter image description here

The two points stay in their position and rotate accordingly. Hope this helped :)

Here's the file for you to play around with:

$\endgroup$
5
  • $\begingroup$ That's certainly the conventional way. I usually put an empty where I want each end of the hose to be attached, parent the emptys to the objects with Keep Transform, and then hook each end of the Bezier Curve to the emptys. Not sure why you want the hooked empty in the centre unless you need to control the position of the hose exactly. $\endgroup$
    – John Eason
    Commented Aug 19, 2023 at 8:15
  • $\begingroup$ @JohnEason The hooked centre is just an example if you want more points or control. Apologies if my answer is confusing and please do edit my answer if needed $\endgroup$
    – Hazrd
    Commented Aug 19, 2023 at 8:27
  • 1
    $\begingroup$ Fair enough. You can also keyframe it to stop it intersecting objects if necessary. $\endgroup$
    – John Eason
    Commented Aug 19, 2023 at 9:15
  • $\begingroup$ That did the trick. Thanks! $\endgroup$ Commented Aug 19, 2023 at 15:50
  • $\begingroup$ Happy to help @JeffreyDavis :) $\endgroup$
    – Hazrd
    Commented Aug 20, 2023 at 8:06

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .