Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 14 Next capture
2021 2022 2023
2 captures
13 Jun 22 - 14 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 SeveQStorm · Nov 13, 2013 at 07:38 PM · physics settingsbouncingbouncinessphysicsmaterial

Bouncy rigid body, although bounciness is 0?

Hi folks,

I'm wondering why a stack of rigid bodies is bouncing although bounciness of the material is set to 0.0. Here's a video of the behavior: http://www.youtube.com/watch?v=NQsSdbBr8jU

The objects are generated by a script. They are all instances of the same prefab object, so they have all the same settings. They are placed according to their size exactly adjacent to each other. Somehow it looks like they squeeze under their own pressure. However, lowering the mass of the blocks doesn't change anthing. They still bounce.

What's causing this behavior and how do I get rid of it or reduce it to a level where the blocks behave like wooden blocks of only a few centimeters in size?

Thanks!

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 meat5000 ♦ · Nov 13, 2013 at 10:41 PM 0
Share

http://answers.unity3d.com/questions/523983/physics-behaves-more-strangely-with-time.html

It seems to all come down to penalty force.

You may need to force the rigidbodies to sleep.

avatar image Deepscorn · Jun 16, 2020 at 04:54 PM 0
Share

Possibly answered here http://answers.unity.com/answers/1742689/view.html

1 Reply

· Add your reply
  • Sort: 
avatar image
1
Best Answer

Answer by Owen-Reynolds · Nov 13, 2013 at 10:37 PM

The video didn't play for me, but, in a vertical stack, I don't think that's bouncing. It's just the physics system having trouble. The only solution I've found is to set underneath blocks as kinematic. Then have OnCollisionEnter check speed/direction of a hit to see if the block should turn back on. Can be kind of a mess, depending what you expect to happen.

The problem seems to be that 5 blocks stacked is a ton of math. Imagine the blocks are a little off-center. They will lean, spin and fall over, which will look very nice. Unity doesn't know that your particular blocks are perfectly stacked. So, block A pushes down on B, which pushes that plus it's own weight on C ... until finally block F, on the floor, resists and pushes back up. That gives the odd waves. I've had thin blocks just pop into the middle of the block above them.

An idea I haven't tried is to artificially reduce the mass of higher blocks. Then a mass 1 block pushing down on a mass 5, onto a mass 25 ... won't flex as much. Might also try putting blocks to sleep when another block lands on them, but I'd guess any good smack will just wake them all up.

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 SeveQStorm · Nov 14, 2013 at 08:43 AM 0
Share

Huh? Video didn't play? Neither for me... I've tried several times and now it plays. Don't know why.

Anyway, yeah, I guess you're right. It's probably the physics engine hitting the brick wall. I had hoped to build a Jenga like game in Unity for practicing and experimenting purposes...

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

19 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 avatar image

Related Questions

2D Polygon Collider Ball with bounce material not stay completely still 0 Answers

Changing physics material at runtime not working 2 Answers

PhysicsMaterial2D and bounciness: Getting weird angles when hitting box collider edges 2 Answers

Unity 2D - Why does velocity causes the ball to change direction everytime it hits something? 1 Answer

Predicting projectile path after bouncing off Physics Material 2D 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