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
1
Question by darthbator · Sep 07, 2013 at 07:31 PM · charactercontrollerjumpscale

Setting the Unity editor scale

So I've been looking around a bit and haven't really found the answer I was looking for (maybe because I'm bad at looking!). Is there a way to change the unity's unit/grid scale. What I am trying to achieve is getting a world scale that is at the least 1:1 with the y scale of my character.

That way if I translate a character 1 unit upwards he is exactly 1 character length higher then he was before. Am I going about this the wrong way?

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
2
Best Answer

Answer by sikori17 · Sep 07, 2013 at 10:48 PM

There is no way to achieve what you are looking for. By default Unity uses a scale where 1 grid unit equals 1 meter (many people say that each grid unit is "arbitrary," but many parts of the Unity physics engine assume each unit is a meter). There is no single variable that can be modified to change this relationship.

It is possible to edit variables of various physics components (gravity, force, etc) in a consistent manner in order to simulate a different grid space, but it's not a clean approach. It also doesn't change how Transform.Translate() behaves. Generally I find it is better to scale your objects to fit Unity's space relationship, rather than force Unity to try to adjust to the scale of your imported models.

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
1

Answer by sikori17 · Sep 07, 2013 at 10:49 PM

Unfortunately, there is no way to achieve what you are looking for. Unity's scale is set such that one grid unit is equivalent to one meter. There is no single variable that can be modified to change this relationship.

Many of the physics-related components have values for gravity, force, etc, that if all modified consistently can simulate having a grid of different dimensions. Personally I find it's best to adjust the scale of your objects to fit Unity's standard, rather than trying to force Unity to work at the scale of your imported models.

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 golay · Jun 21, 2020 at 01:43 PM

Hi, When I create a new cube in unity, for some reason it spans 2 grid cells which is inconsistent with the default size of the cube which is supposed to be 1 unit in each axis. What is it that I'm missing here??

alt text


annotation-2020-06-21-175758.jpg (197.7 kB)
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 AllTheGoodNamesWereTaken · Jun 21, 2020 at 04:00 PM 0
Share

Edit>Grid and Snap Settings... make sure Grid Size is set to 1.

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

18 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Character controller/gravity reverse/jump reverse/constantly running 0 Answers

CharacterController stop the jump near the top of boxes (collider problems?) 0 Answers

How to fix a infinity jump? 1 Answer

Addforce to create a gliding effect? 2 Answers

How to jump with the Character Controller 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