Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 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 /
  • Help Room /
avatar image
0
Question by SomehowLuke · Mar 18, 2019 at 07:50 PM · gravityphysics2dcollider2dmassdensity

Physics 2D disable collision bouncyness

Hello, I am using Unity Physics 2D for my current use-case.

I want to build up a tower made of standard boxes. The box has a standard BoxCollider2D and a Rigidbody2D with standard values. There is also a ground collider. With the key "N" I spawn a new box prefab which falls a little and collides with the ground. Then I add 0.5 to the Y position for the next spawn box and spawn a new box again and again and again. The more boxes I add the more pressure there is on the lower boxes. After some boxes the tower gets unstable and falls apart. This is not what I want to achieve. I would like to have no effect on the pressure, the boxes should not been squeezed. In reality I would put one brick on top of each other and it will "never" break if i place it perfectly in center and no other disturbing forces (wind etc.) occur. I could deactivate the gravity once its placed on top of the tower, but then I wont have the possibility to let the tower break if I place one block not correctly in the center.

Hope I could explain it correctly but on my G-Drive (link below) I placed my asset folder with my basic setup. Once you hit play and press "N" a block will be spawned. You can see a little of bounciness and also if you place more, you will also see how the blocks below get more and more squeezed until the tower breaks.

How could I achieve my use-case building high towers with no squeezing, bouncing but still the usage of gravity and center of masses.

Thank you very much for your help!!!

Link to G-Drive: https://drive.google.com/drive/folders/15eNoCJQptvkoE2hBfRoPexPKm-B9qx_c?usp=sharing

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 xxmariofer · Mar 18, 2019 at 08:18 PM 0
Share

can you try freezing the rigidboy in the X and Z axis when they are placed?

avatar image SomehowLuke xxmariofer · Mar 18, 2019 at 10:41 PM 0
Share

Yes but it still bounces a little like a rubber tower (even with bounciness set to 0) and then the use case will not work because the tower cannot break if I do not place the box centered. It should react physically correct but for my first test I placed the blocks totally centered and it reacts like rubber and falls apart even though the center of mass of each is correctly aligned so it should not fall apart.

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

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

Related Questions

Had to turn off gravity scale, but now player goes through walls 0 Answers

Sprites pixel colliding with 2d collider 0 Answers

Problem with hitboxes and hurtboxes 0 Answers

Uneven Jump Heights 1 Answer

OverlapCircleAll returns null 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