{"id":4068,"date":"2015-11-18T02:17:25","date_gmt":"2015-11-17T23:17:25","guid":{"rendered":"http:\/\/unitycoder.com\/blog\/?p=4068"},"modified":"2015-11-18T02:17:25","modified_gmt":"2015-11-17T23:17:25","slug":"surface-snapping-in-editor","status":"publish","type":"post","link":"https:\/\/unitycoder.com\/blog\/2015\/11\/18\/surface-snapping-in-editor\/","title":{"rendered":"Surface Snapping in Editor"},"content":{"rendered":"<p><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"4069\" data-permalink=\"https:\/\/unitycoder.com\/blog\/2015\/11\/18\/surface-snapping-in-editor\/unity_snap_to_surface_editor\/\" data-orig-file=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2015\/11\/unity_snap_to_surface_editor.gif?fit=496%2C339&amp;ssl=1\" data-orig-size=\"496,339\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"unity_snap_to_surface_editor\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2015\/11\/unity_snap_to_surface_editor.gif?fit=496%2C339&amp;ssl=1\" class=\"alignnone size-full wp-image-4069\" src=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2015\/11\/unity_snap_to_surface_editor.gif?resize=496%2C339\" alt=\"unity_snap_to_surface_editor\" width=\"496\" height=\"339\" \/><\/p>\n<p>These snapping features are super useful!<br \/>\nNote that if you have &#8220;Pivot&#8221; enabled instead of &#8220;Center&#8221;, it snaps from the center of the sphere instead.<\/p>\n<blockquote>\n<h2>Surface Snapping<\/h2>\n<p>While <span style=\"text-decoration: underline;\">dragging in the center using the Translate Tool<\/span>, you can<span style=\"text-decoration: underline;\"> hold <span class=\"doc-menu\">Shift<\/span> and <span class=\"doc-menu\">Control<\/span><\/span> (<span class=\"doc-menu\">Command<\/span> on Mac) to snap the object to the intersection of any <span class=\"doc-keyword\">Collider<\/span>. This makes precise positioning of objects incredibly fast.<\/p>\n<h2>Look-At Rotation<\/h2>\n<p>While using the <span style=\"text-decoration: underline;\">Rotate Tool,<\/span> you can hold <span style=\"text-decoration: underline;\"><span class=\"doc-menu\">Shift<\/span> and <span class=\"doc-menu\">Control<\/span><\/span> (<span class=\"doc-menu\">Command<\/span> on Mac) to rotate the object towards a point on the surface of any <span class=\"doc-keyword\">Collider<\/span>. This makes orientation of objects relative to one another simple.<\/p><\/blockquote>\n<p><a href=\"http:\/\/docs.unity3d.com\/Manual\/PositioningGameObjects.html\" target=\"_blank\">http:\/\/docs.unity3d.com\/Manual\/PositioningGameObjects.html<\/a><\/p>\n<p>&nbsp;<\/p>\n<p>*Materials used in the image are downloaded from <a href=\"https:\/\/share.allegorithmic.com\/\" target=\"_blank\">Substance Share<\/a> (Totally worth the price!)<\/p>\n<p><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"4070\" data-permalink=\"https:\/\/unitycoder.com\/blog\/2015\/11\/18\/surface-snapping-in-editor\/unity_surface_snap\/\" data-orig-file=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2015\/11\/unity_surface_snap.jpg?fit=680%2C398&amp;ssl=1\" data-orig-size=\"680,398\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"unity_surface_snap\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2015\/11\/unity_surface_snap.jpg?fit=680%2C398&amp;ssl=1\" class=\"alignnone size-full wp-image-4070\" src=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2015\/11\/unity_surface_snap.jpg?resize=680%2C398\" alt=\"unity_surface_snap\" width=\"680\" height=\"398\" srcset=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2015\/11\/unity_surface_snap.jpg?w=680&amp;ssl=1 680w, https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2015\/11\/unity_surface_snap.jpg?resize=300%2C176&amp;ssl=1 300w\" sizes=\"auto, (max-width: 680px) 100vw, 680px\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>These snapping features are super useful! Note that if you have &#8220;Pivot&#8221; enabled instead of &#8220;Center&#8221;, it snaps from the center of the sphere instead. Surface Snapping While dragging in the center using the Translate Tool, you can hold Shift and Control (Command on Mac) [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":4070,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[797,3],"tags":[358,800,798,799,259,622],"class_list":["post-4068","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tips","category-unity3d","tag-editor","tag-shortcut","tag-snap","tag-snapping","tag-surface","tag-tips"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2015\/11\/unity_surface_snap.jpg?fit=680%2C398&ssl=1","jetpack_shortlink":"https:\/\/wp.me\/p1KTaT-13C","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/posts\/4068","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/comments?post=4068"}],"version-history":[{"count":1,"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/posts\/4068\/revisions"}],"predecessor-version":[{"id":4071,"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/posts\/4068\/revisions\/4071"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/media\/4070"}],"wp:attachment":[{"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/media?parent=4068"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/categories?post=4068"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/tags?post=4068"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}