• 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 bruno martelli_legacy · Jul 05, 2010 at 02:55 PM · rotatemovesnap

rotation snap, or any kinda snap

Hi

when I have a group of several meshes selected, i can move them all around. If i rotate the group only one object seems to move. So i can child the objects onto a game object and rotate that. But whoopi fracking doo Uity will rotate to 700 places of decimal precision but not snap to something useful like 180. If I type in 180 in the inspector the group rotates somewhere off in space. Im stupid but wouldn't it be easier if unity snapped to anything? I know theres that snaps thing but doesn't seem to do anything

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

3 Replies

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

Answer by Jaywalker · Jul 05, 2010 at 03:15 PM

Unity has rotation snapping :-)

If you hold the Command key (I'm guessing Ctrl in windows?), Unity snaps to the settings you define in: Edit>Snap Settings.

If you child a bunch of objects to a object that parent will become the base for rotation. I'm guessing the problem you're having has to do with the parent objects pivot point. You can set Unity to rotate from the center of an object by changing the option at the top left of the Unity editor.

To see how it works you could just test it out in a empty scene: create two cubes, zero out there translation and rotation,parent one to the other, and rotate the parent around.

By doing this you can probably find the problem you're having with your other scene

Cheers!

Comment
Add comment · Show 1 · 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 Johannski · Jan 08, 2015 at 10:55 AM 0
Share

Note that rotation snapping in 2D seems not to work (Unity 4.6.0f1). You will have to switch to 3D mode in the editor in order to use rotation snapping. €dit: Correction, seems like this happens only sometimes

avatar image
1

Answer by Gabriel 1 · Oct 03, 2010 at 06:55 AM

Unity3 introduces proper Rotation snapping:

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

Comment
Add comment · Show 1 · 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 · Oct 03, 2010 at 06:59 AM 0
Share

Good to know, cheers.

avatar image
0

Answer by bruno martelli_legacy · Jul 19, 2010 at 11:26 AM

ok i ve tried this and if i hold CMD and rotate my 90 rotated cube with the snap set to rot 15, if i move the thing around it will go 105, 120 etc and if i go back to centre it will be 90.00005 or something off, changing the pivot to centre, global to local dont help either...

Comment
Add comment · Show 1 · 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 flberger · Jun 04, 2013 at 08:03 AM 0
Share

Please provide comments as comments under the answer you refer to, not as a new answer (which you just did).

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

Google VR Play Store sample app built using Unity 3D with move and rotate 1 Answer

Getting stumped by vectors and quaternions 2 Answers

Boat moving forward while rotating towards point 1 Answer

Rotating Player 0 Answers

Compound Collider Moving Parts? 4 Answers


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