3
$\begingroup$

enter image description here

Is there anyway to drag points along with the control object I know you can do simulations but is there's easy way to do this...my solution is assign each point to set position but that's tedious as you cn see at the gif I want the other points to follow or drag along....I know the sample curve path follow but that's not my intend...thanks

$\endgroup$

1 Answer 1

2
$\begingroup$

You can do it with an external object, and the logic will be the same as below, except you will have to know what was the original position of the external object, and subtract it from its current position to get the offset. So what I show is the new functionality called gizmos, and in particular I use a Transform Gizmo that allows you to modify more than one-axis rotation or one-direction displacement. In fact, it allows to modify too much, so I connected two nodes, of the type it's unable to cooperate with, to the rotation and scale, leaving only 3 axes of translation (movement, dragging) left. This one has Vector Math: Add connected to it, with which it is able to cooperate, but only if the first socket is disconnected or connected to some other node it can cooperate with:

Imgur mirror (SE image hosting has problems)

The rest is hopefully trivial logic: an arbitrary vector $<2, 0, 0>$ is used to find some vertex that is far to the right side (left ear), get its index, use it to read the position and position the gizmo there; but the Vector Math: Add node moves the gizmo by the amount it controls, meaning as you move the gizmo, its position changes accordingly. This manual offset of the gizmo is also used to control the displacement of the mesh, but not uniformly: it has a follow that I achieve by blurring the selection of previously found vertex, and modify the falloff with Math: Power - you probably want some better formula both to select moved vertices and to control the falloff…

Result:

Imgur mirror

v.4.3.2.

$\endgroup$

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.