4
$\begingroup$

I'm trying to rotate a dodecahedron face to align with a flat plane face.

I watched a video see below and
https://www.youtube.com/watch?v=qhx6C6wGVns

img1

When I rotate a dodecahedron's face to align with a face on a flat plane the dodecahedron face doesn't align with the face of the plane.

img2

What it should look like when it snaps to face enter image description here

link to file with origin at the face center https://pasteall.org/blend/57f7b97899d544dd84303b122ea8621d

$\endgroup$
2

1 Answer 1

7
$\begingroup$

That video is maybe not as good as it could be, because it doesn't deal with likely problems people will have-- like you are having here, with your dodecahedron.

When you enable snapping to face with align rotation to target, Blender isn't aligning the rotation of the nearest selected object's face to the snapped face. It's aligning the object's +Z axis with the snapped face. If we enable the display of axes on your object, we can see exactly what that is:

enter image description here

In the tutorial, the video author had object Z axes that were aligned with the way they wanted the face to snap. In your case, you don't. That's why it worked for them but not for you.

Now, if we want, we can align the origin with the face. Enter edit mode, select the face we want to snap, and "create orientation" (ctrl alt space for me.) Then in object mode, enable Origins in sidebar/tool/options/affect only and use "align to transform orientation" operation (perhaps from searchbar, perhaps from object->transform menu.) This will set the Z axis of the object pointing out from the face you selected:

enter image description here

With affect only origins still set, we could rotate this in its local X or Y axis by 180 degrees so that Z axis points inward, which will then align via snapping with our box. After setting the origin, don't forget to turn off affect only origins.

enter image description here

Yes, this is tedious, particularly if we want to do this with any arbitrary face, particularly if we want to animate this object doing it with multiple faces. I am not a fan of Blender's snapping to begin with and generally prefer rigging objects to bones or empties that use shrinkwrap constraints.

$\endgroup$
1
  • $\begingroup$ Thanks that did it... $\endgroup$
    – Rick T
    Dec 19, 2021 at 18:00

You must log in to answer this question.

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