Page MenuHome

Snap to vertex in Object mode doesn't work
Closed, ArchivedPublic

Description

System Information
Operating system: Windows-8.1-6.3.9600-SP0 64 Bits
Graphics card: GeForce GTX 760M/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 425.31

Blender Version
Broken: version: 2.82 (sub 7), branch: master, commit date: 2020-02-12 16:20, hash: rB77d23b0bd76f

Short description of error
Snap to Vertex (Closest and Median) doesn't work as expected (or in previous versions)

Exact steps for others to reproduce the error
Create two mesh objects and try to snap the closest vertex to any of the target object's vertex in Object mode.
Most likely you will snap with one of the corners of the bounding box of the object but not with its closest or active vertex.
If in Edit mode snapping with the above two methods seems to work normally.

Event Timeline

This has been reported other times (T54300, T73632).
The current behavior works as planned a long time ago.
So this is a feature request.

There is no simple solution for this, there are several transformation modes that use this snap mode (translate, rotate, scale, ...), and the closest point is not always defined by the linear distance (rotation for example uses the angle).
Therefore, it would be necessary to execute the mode-specific function that calculates the distance for each vertex, but this brings other problems:

  • There are different types of objects (mesh, curve, latice ...), so obtaining the coordinate of the vertex is different and would be necessary to make a function for each type.
  • Some objects have millions of vertices, and calculating the distance of each one to find the closest point would be bad for performance.

So this is a feature request.

Basically, you've eliminated one of the best snapping modes in favor of snapping to invisible bounding box!
I understand the issue with high-density meshes, but this feature was mostly used in low poly situations.
Can you give me a solution for snapping two simple 2D hexagonal objects to any corner that works as fast as before?

I am going to be really disappointed if this feature is removed permanently, because it worked perfectly.

At least, please change the name to Snap to Bounding Box Corner as this is what it really is :)

I didn't eliminate anything.
It always worked like that.
You must be confused with snapping in edit mode.

By the way - snapping to closest vertex in Edit Mode works like in previous versions of Blender, but you loose the initial origin location, which is not easily restored in most cases.

Once again, please reconsider the behavior this tool.

Snapping with bounding box corners is useful if you only play with cubes ;)

It always worked like that.

My bad. Just tested it on an older version of Blender 2.79 and ... you are right.

Maybe I was dreaming :)

Sorry, for wasting your time, Germano!