x


Is there any Vertex to Vertex snapping script for Unity Editor?

I found this excellent script in the wiki, Transform Utilities .It really speeds the workflow by 50 percent when you try to place objects in http://Unity.It aligns objects with minimum and maximum value.

But still there are many cases that you need more control. Is there any vertex to vertex snapping script like maya or max ? I searched the forums but I didn't find anything. I was wandering if any of the more experienced users have come accross a tool like that. Does Unity 3 improves the existing snapping system ? Thanks in advance .

more ▼

asked Apr 13 '10 at 11:35 AM

alexnode gravatar image

alexnode
984 27 32 49

So if you want to make a script like that, someone will need to identify each vertex on mouse enter in the editor and then create a dummy gameObject at the exact coordinates of the vertex, and then after making your root object child of the dummy you should be able to drag the object in a second vertex ... hmmm

Apr 13 '10 at 04:03 PM alexnode
(comments are locked)
10|3000 characters needed characters left

2 answers: sort voted first
more ▼

answered Apr 16 '10 at 10:44 AM

duck gravatar image

duck ♦♦
41k 92 148 415

I love you guys !!!

Apr 16 '10 at 11:09 AM alexnode

This will be a great improvement, and the marque selection too. Fantastic.

Apr 16 '10 at 11:18 AM alexnode
(comments are locked)
10|3000 characters needed characters left

Proper Vertex Snap has been introduced with Unity3:

http://unity3d.com/support/documentation/Manual/Positioning%20GameObjects.html

From the new Manual:

Using vertex snapping in Unity is simple. Just follow these steps:

* Select the mesh you want to manipulate and make sure the Transform Tool is active.
* Press and hold the V key to activate the vertex snapping mode.
* Move your cursor over the vertex on your mesh that you want to use as the pivot point.
* Hold down the left button once your cursor is over the desired vertex and drag your mesh next to any other vertex on another mesh.
* Release your mouse button and the V key when you are happy with the results.
* Shift-V acts as a toggle of this functionality.
* You can snap vertex to vertex, vertex to surface and pivot to vertex. 

A video on how to use vertex snapping can be found here: http://vimeo.com/10945727

more ▼

answered Oct 03 '10 at 07:00 AM

Gabriel 1 gravatar image

Gabriel 1
87 2

GabrielR Thanks for updating this old question. Let's hope that this will happen with all the rest of UNITY 2.x Questions

Oct 04 '10 at 03:15 PM alexnode

Note that for Cloth meshes, you need to add a MeshFilter for snapping to work.

Feb 06 '11 at 10:44 PM Waz
(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x3324
x1665
x43
x26

asked: Apr 13 '10 at 11:35 AM

Seen: 3253 times

Last Updated: Apr 15 '10 at 04:22 PM