13

I want to add a driver to a vertex' z position. Is this possible? If it is, how?

When I try to add a driver, all I get is the option to edit source and edit translation.

enter image description here

Humilton
  • 2,127
  • 1
  • 16
  • 36

3 Answers3

9

In edit mode, select the vertex you want to animate. Then CtrlH > H (Hook to new object). This will create an empty, whose position you can animate, and the selected vertex will follow it.

8

You could also add Shape Keys and animate the influence, either by adding keyframes directly or by a driver.

enter image description here

stacker
  • 38,549
  • 31
  • 141
  • 243
3

To answer the question specifically: Yes. It is possible.

Go to Outliner, switch Display Mode to Datablocks, then you'll see a list of all datablocks for the .blend file.

Expand the list: Blendfile Data > Objects > your_obj_name > Data > mashdata_name > Vertices > Mesh Vertex > Location, then you can right click on X Y Z, and choose Add Drivers or Add Single Driver from the menu.

enter image description here

However, when there are too many vertices, it will be very hard to target the one you want. I would rather use hooks.

Leon Cheung
  • 27,718
  • 11
  • 89
  • 161