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
3
Question by MaximusVulcanus · Feb 26, 2013 at 05:14 AM · physicsscale

Physics and very "small" objects.

Hello everyone,

I have found quite a few topics that discuss how units in Unity are arbitrary, unless physics are involved. In my case, I need some very small objects to behave correctly in the physics engine so I've modeled them to scale. Now, however, I can't really work with them in Unity due to their small size. They are 1-2 cm in size they are so small that using the scene viewer is almost pointless.

I noted that in my searches, someone mentioned increasing gravity to offset this scale. Is there a regular formula one could use for physics that would allow allow 1m to be treated as 1cm with respects to the physics engine?

Edit: After reading information here: http://www.bulletphysics.org/mediawiki-1.5.8/index.php?title=Scaling_The_World and here: http://answers.unity3d.com/questions/301659/how-to-scale-down-physics-engine.html

For all intents and purposes... it seems like just playing a bit with gravity will be the way to go. I was hoping for something that was more an exact science, but that seems to be more trouble than it's worth.

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

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by Tarlius · Feb 26, 2013 at 05:40 AM

If editing gravity is not an issue, why not just scale everything up so that 1cm = 1m?

As for things being too small, perhaps coding a custom gizmo could help you see your objects in the scene view?

Depending on your situation, it might be appropriate to replace the objects with a particle generator, or to just not apply physics to them at all (since your players probably won't care much about lots of tiny objects you can't see yourself)

Comment
Add comment · Show 2 · 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 MaximusVulcanus · Feb 26, 2013 at 06:08 AM 0
Share

That is the plan... to scale them up, but since the size does matter with respects to physics behavior... my understanding is that I will need to tweak the gravity afterwards.

With what I'm working on... I'd need this to work correctly. These small objects will be all the "player" is looking at :)

avatar image Tarlius · Feb 26, 2013 at 06:25 AM 0
Share

Is there a reason zoo$$anonymous$$g in isn't sufficient? I just tried a test with a .01 x .01 x .01 cube and was able to move it around with no issues if I zoomed in on it.

You said in scene view which seems to suggest you have no problems with the in-game camera?

Does putting a small object into a host object with Scale = (100,100,100) break the physics in the same way? That might be an option?

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

11 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

Related Questions

scaling objects with rigidbodies 2 Answers

Weird Ragdoll colliders are overlapping after rescaling the game 0 Answers

How to correctly scale a mini golf game 2 Answers

Player Car Runtime Scaling Issue 0 Answers

Changing Scale Effect Physics? 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