Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 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 JTrocks55 · Feb 19, 2015 at 05:54 AM · objectscalenumberunit

How to find what object "scaling" number is 1 unit?

I am trying to align a bunch of cubes so that there is no gap between them and I made the scale to 250. And I have the snap settings at 2.5 so they are almost aligned, but there is a barely visible gap between them. So how do I find the number of...scaling units I guess, that is equal to 1 unit. I hope that makes sense. I just want to snap them in place where there is no gap between the cubes basically, so what scale number do I need to set the cubes to? 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 GameVortex · Feb 19, 2015 at 07:59 AM 0
Share

Are they custom cubes or Unity standard primitive cubes? With the Unity cubes you don't really need snapping to align them, a Unity cube scaled to 250 is 250 wide, so the next cube needs to be exactly 250 units away from the other one. Although snapping works just as well, just keep in $$anonymous$$d that snapping does not snap to the snapping value, but rather to the next value which is snap value distance away: If the start x position of an object is 37.36 the next value snapped to would be 39.86. So to align the cubes with a snapping value they need to start on the same position.

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by Nymisu · Feb 19, 2015 at 08:58 AM

Scaling is relative to the object size. With unity's own cubes, a cube of scale 1 is 1*1*1 units, and respectively, scale 3 is 3*3*3. If you make a cube yourself in whatever 3D program you utilize, it could have a normal unit-size of 9.533³, but with a scale of 1.

To calculate the scale of a cube that's custom, i'd recommend utilizing the difference between collider.bounds.center and collider.bounds.extents.y(for instance)

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

4 People are following this question.

avatar image avatar image avatar image avatar image

Related Questions

Making objects look further away in ortho cam 1 Answer

How do i set a "object.max" scale ex.:: X axis ? 1 Answer

How can I scale my object in one direction??? 4 Answers

Is there a way to disable Unity changing the texture scaling when using multiple materials 0 Answers

How do I change the Unit size for a project? 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