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 IMDJHanna · Oct 13, 2014 at 07:19 PM · scalesizeworldmeterfeet

Size And Scale Limitations

Hello.

When I first started downloading Unity assets, I noticed that the x,y,z units seemed to represent about a yard or meter. Reading UnityAnswers, I see units are set to 1 meter, but I also noticed that not all assets follow that rule. Although I see the logic of using meters (Easy conversions from millimeters to kilometers), I would prefer using feet. Two questions come to mind.

First, are there any limits or problems connected with using larger or smaller scales?

Second, should I divide my 4 kilometer by 5 kilometer world into several 1 kilometer by 1 kilometer levels?

I suspect these issues could greatly affect game speed and quality when building a MMORPG.

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

2 Replies

· Add your reply
  • Sort: 
avatar image
0

Answer by MrSoad · Oct 13, 2014 at 07:46 PM

Unless you are using the physics engine(rigidbodies) you should be ok, if things start falling through the floor then scale up. If you are using the physics engine then you will probably encounter problems if the scale is too small or too large. When making a pool game I made the balls, table etc the correct(real) size. Encountered many problems including the balls falling through the table. I ended up making the balls 1 meter in diameter which solved all my issues, though I had to alter the gravity to make them seem like they were small. (Edit: Generally it is best to try to stick to the default scale, this will not be the thing that determines how good or bad the quality of your game in terms of looks and speed, see below)

Game speed and quality will depend more on how you construct the game rather than scale. You may need to use lots of rendering optimization techniques like Dynamic Batching for Draw Call reduction(look up Draw Calls if you have never heard of them) via Texture Atlasing. Minimal code execution, ie only run what needs to be run when it needs to be run. Cache your Transforms as this is much faster, you are doing the equivalent of GameObject.find otherwise every time you move an object. And a whole lot more...

If you were making a space game with spaceships as the player and enemys you would want to make the ships about 1m in length. If you were making a space game where people were travelling in space ships then you would want the ships to be approx the real size for example.

Hope this helps a little.

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 robertbu · Oct 13, 2014 at 07:51 PM

There are a number of posts on UA addressing different aspects of this question. Three in particular:

  • Unity is tied to meters in just a few places related to some form of physics...like gravity and Doppler for audio. If you don't need these features or are willing to code around the values, then you can make your units mean anything you want.

  • For larger areas like planets or solar systems, you will run into problem due to precision issues with floating point numbers. There are discussions on UA and the Unity Forums on how to address this issue.

  • There is a maximum velocity in 2D, so in order to get what you want visually, you may have to reduce the pixel to units setting or otherwise reduce the scale.

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

3 People are following this question.

avatar image avatar image avatar image

Related Questions

Why does this not scale smoothly? Any Ideas? Transform.localscale 2 Answers

Max scale in unity3d 2 Answers

How do you Scale Game Objects with the Screen? 0 Answers

Can you scale a Mesh independently of it's Collider? 1 Answer

Match a GameObject's size to another's? 2 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