• Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
1
Question by alexnode · Apr 13, 2010 at 11:35 AM · editorsnappingalign

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 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 .

Comment
Add comment · Show 1
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image alexnode · Apr 13, 2010 at 04:03 PM 0
Share

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

2 Replies

· Add your reply
  • Sort: 
avatar image
2
Best Answer

Answer by duck · Apr 16, 2010 at 10:44 AM

This is coming in Unity 3.0

See this recently posted video by Unity3D on Vimeo.

Comment
Add comment · Show 3 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image alexnode · Apr 16, 2010 at 11:09 AM 0
Share

I love you guys !!!

avatar image alexnode · Apr 16, 2010 at 11:18 AM 0
Share

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

avatar image eskivor · Mar 07, 2018 at 05:08 PM 0
Share

link is dead

avatar image
1
Best Answer

Answer by Gabriel 1 · Oct 03, 2010 at 07:00 AM

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

Comment
Add comment · Show 3 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image alexnode · Oct 04, 2010 at 03:15 PM 0
Share

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

avatar image Waz · Feb 06, 2011 at 10:44 PM 0
Share

Note that for Cloth meshes, you need to add a $$anonymous$$eshFilter for snapping to work.

avatar image eskivor · Mar 07, 2018 at 05:09 PM 0
Share

that does not answer how to snap vertex to vertex via a script

Your answer

Hint: You can notify a user about this post by typing @username

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

Welcome to Unity Answers

If you’re new to Unity Answers, please check our User Guide to help you navigate through our website and refer to our FAQ for more information.

Before posting, make sure to check out our Knowledge Base for commonly asked Unity questions.

Check our Moderator Guidelines if you’re a new moderator and want to work together in an effort to improve Unity Answers and support our users.

Follow this Question

Answers Answers and Comments

1 Person is following this question.

avatar image

Related Questions

The Script Equivilent of dragging a hierarchy of meshes over a preexisting prefab? 0 Answers

Tracking down causes of Editor errors. 1 Answer

How to use Vertex Snapping? 0 Answers

Instantiate a prefabe in scene view from menu! 1 Answer

Save scene event when the user save the scene in the editor 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges