Rotate snapping a bone between two vertices

Blender Asked by telephone on November 10, 2020

I thought it should be easy to pose a bone so it fits between to vertices: First move and snap the root of the bone to the first vertex v0, and then rotate the bone so that the tip of the bone snaps to the second vertex v1. (The length of the bone can be assumed to be almost equal to the length between the two vertices).

However, rotation snapping is mysterious: Its behaviour gives me no idea how this feature works. How does the rotation snapping feature works? How do I rotate and snap the tip of my bone to the other vertex? I want to move the bone from rest position to my new, precise position so that I can animate this movement.

Root correctly placed
enter image description here

2 Answers

The way to do this is via bone constraints. The two constraints you are looking for are copy location and damped track. Both of these constraints can accept a mesh target, and you can specify vertex groups for the targets, then mark individual vertices by belonging in those groups, to copy location or "rotate to" particular vertices:

enter image description here

I've assigned the center vert of Suzanne's left eye to a vertex group named "From" and the center vert of her right eye to a group named "To". Then I copy the location of From and damped track To.

There are alternatives to either of these constraints. Notable would be a "shrink to" constraint, which it sounds like you might be looking for. This doesn't just rotate to point the bone at the direction of the target, but actually stretches the bone as well.

These are dynamic, which is to say that as the mesh moves, as the vertices (or vertex groups) change, the action of the bone changes. If you want the bone posed like this, but not dynamically, you can "apply visual transform" from pose mode's ctrl A "Apply" menu, then delete the constraints.

If you want this snapping to be in the bone's rest pose rather than posed pose, you can "apply selected as rest pose" from the same menu.

Answered by Nathan on November 10, 2020

IF you are animating this process you can create a IK bone constraint on the bone. Snap the 3d cursor to the v0 location Add a second bone in edit mode to be your target for the IK constraint. "target" Snap the "target" bone to the vertex1 (edit mode on the cube, snap 3d cursor, pose mode snap target bone to 3d cursor).

Now you have a min-snap rig- that will drive your bone you want to animate and you can bake the animation down when you are done or leave the IK constraint on.

Answered by Brad Clark on November 10, 2020

Add your own answers!

Related Questions

How do I get rid of this weird pattern on my mesh?

2  Asked on January 2, 2022 by luxeyes


How do I model a crumbling egg yoke?

1  Asked on January 2, 2022 by skemi


Is Inflow Animation Broken in 2.80?

1  Asked on January 2, 2022 by bigbeneco-notmyjob


How to make a punch pose

1  Asked on January 2, 2022


2.90 “keyword “apply_as” unrecognized” – Error

1  Asked on January 2, 2022 by increality


Help with armatures

1  Asked on January 2, 2022 by thecardyman


Hair simulation not rendering in cycles

0  Asked on January 2, 2022 by luca-cassarino


How To Select Vertices

1  Asked on January 2, 2022 by schadenfreude


How to create tentacles moving with the wind?

2  Asked on January 2, 2022 by viranto


Shade Smooth and holes

1  Asked on January 2, 2022 by manuel-kreisler


How to export object as multiple meshes?

1  Asked on December 30, 2021 by connor-forman


Problem with fireflies and denoise on surfaces

1  Asked on December 30, 2021 by magimi


What context does make_links_data need?

0  Asked on December 30, 2021 by georch


How do you create a fluffy cloud in blender 2.82?

1  Asked on December 30, 2021 by mr_shoryuken


Ask a Question

Get help from others!

© 2022 All rights reserved. Sites we Love: PCI Database, MenuIva, UKBizDB, Menu Kuliner, Sharing RPP, SolveDir