Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 14 Next capture
2021 2022 2023
2 captures
12 Jun 22 - 14 Jun 22
sparklines
Close Help
  • 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
0
Question by randyhuynh · Sep 25, 2015 at 02:32 PM · editorsnappinglevel-designtiled

Prevent Inconsistent Snapping

I've been making a game with levels that are tile based. So when I'm constructing the level, I'm usually just duplicating things and moving them around with the Cmd (or Ctrl for Win) so it snaps to the grid. Often while I'm editing I all of a sudden realize that some of my bricks are off a small amount (like 0.02) for some reason and I didn't know why. Then I realized today when I was editing that if I'm zoomed out further when I'm moving tiles around with the Cmd button held down, it moves and snaps to a different coordinate than if I was zoomed in. This is really troublesome when I need to zoom out, highlight, and move a bunch of tiles at the same time. Is there a way to fix this behavior or is there a better way for me to do this?

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 drex150 · Sep 26, 2015 at 08:51 AM 1
Share

Try as I might, I couldn't reproduce what you're saying is happening. I zoomed out really far, zoomed in close, grabbed 1 object, grabbed lots of objects, and every combination in between and it still snapped exactly where it was suppose to.

The only thing I could possibly think of is that you might accidentally be nudging the object and not realizing. Or the object started at 1.2 or whatever and when you held ctrl/cmd it went to 2.2 and so on since it only goes up 1 unit exactly. So if it started not as a whole number it will continue to not be a whole number.

It's either that, you changed a setting somewhere, or your unity is bugged out. You can check the settings by going to Edit > Snap Settings. It should have $$anonymous$$ove X/Y/Z set to 1 each, scale set to 0.1 and rotation set to 15.

2 Replies

· Add your reply
  • Sort: 
avatar image
0

Answer by tropercase · Jun 30, 2016 at 05:14 PM

I get the exact same issue. It was worse when I had objects parented to empty objects with precise position values (which I had just done arbitrarily and rectified by making those parent objects have a 0,0,0 position), but even now, same thing. If it's zoomed in a lot, it's precise to 3 decimal values. Zoomed in less, precise to 2 decimal values. Zoomed in less, precise to only 1 value.

It's baffles me why it does this and hopefully the devs will look at this and similar topics and hammer out a fix for it one day.

Suggested solution in the meantime: say you want to move it forward by 30 units. You can add "+30" to the position x value to do this quickly. Once you press enter\return or click elsewhere, the addition or subtraction will be applied automatically.

Comment
Add comment · 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
0

Answer by abczac123 · Mar 09, 2020 at 08:19 AM

Same issue here. Appears to only happen when you aren't zoomed in.

I'm using 0.0625 as the ctrl increment snap and it always ends up rounding while zoomed out more than a few units.

Such a pain, would love a fix or workaround.

Comment
Add comment · 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

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.

Follow this Question

Answers Answers and Comments

5 People are following this question.

avatar image avatar image avatar image avatar image avatar image

Related Questions

Stop Unity snap settings rounding to nearest hundred 2 Answers

Strange bug with snapping in editor 0 Answers

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

Prevent selection of sub-object 1 Answer

Make Objects in Editor Mode ALWAYS snap to the grid. 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