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
2
Question by ExCx · Dec 06, 2013 at 05:36 PM · physicsrigidbodybouncepenetrationelastic

How to make objects non-penetrable, inelastic

I have my rigidbodies with box colliders which stack up on top of each other. The thing is I don't want them to penetrate into each other. When I set "Min Penetration For Penalty" to zero, objects just vibrate and can not come to rest.

Also I want them to be inelastic. I mean like a chunk of iron. They should just fall and stay that way. But they bounce and flex. Even if I set bounce threshold to 100 they still bounce, and I don't even know how to set their elasticity. They should stay solid even if 1000s of other objects stack on them.

How can I achieve this?

Comment
Add comment · Show 2
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 diegzumillo · Dec 06, 2013 at 06:23 PM 1
Share

I don't know what you mean when you say "flex" and "stay solid". It sounds like you're describing a flexible body ins$$anonymous$$d of a rigid body.

But anyway, you can stop the jiggle by using a no zero value for "$$anonymous$$ penetration for penalty", like 0.01. You can also assign a physics material and set bounce to zero, although that is the default value.

See if any of thise makes sense and I'll write a proper answer if it does.

avatar image Pangamini · Dec 09, 2013 at 12:33 PM 1
Share

Stacking of rigidbodies is a tricky thing to solve and things like "$$anonymous$$ penetration for penalty" are there to hack the solver for better results. I am not sure what do you mean by penetrating here... try having lighter objects on top (lower mass), having heavier objects sitting on light ones usually doesn't work well. Then you can try increase physics solver values (eg. iteration count) or enable continuous collision detection.

RigidBody means it can't possibly flex, but to set bounciness, use physics materials

0 Replies

· Add your reply
  • Sort: 

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

Avoid bouncing when ground move down 1 Answer

Physics Possibilities?: Angles, Penetration, Exceptions 4 Answers

How to calculate a RigidBody2D's bounce from a collider? 1 Answer

Rigidbody bounces back on collision 2 Answers

Rigidbody bounce to a place without physics material. 0 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