Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
2 captures
12 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 /
  • Help Room /
avatar image
0
Question by thegreengree · Feb 29, 2016 at 04:05 PM · 2dcollisionphysicsrigidbody2d2d-physics

Why/How 2d tower of blocks collapse?

Hi, Guys!

I have a game, where you grab boxes from left and right and you put them on top of each other. And it should be endless, if you put blocks absolutely correct. The problem is, that main core mechanic doesn't work. In prototypes which I have, any tower +25-30 boxes starts to collapse in few seconds after launch.

To fix this, I tried everything I found: put your own Physics2D material with different settings of friction and bounciness, I tried to change different RigidBody2D settings, transform collider or add more small colliders inside of one, played with unity physics setting. None of this did any result..

The point is, I can't put blocks to be kinematic neither to freeze rotations or change any physics settings, which will effect on boxes falling or rotation speed. And yes, I used supporting colliders from both sides, but it doesn't fit in my game

So, cmon unity, can I build tower of single blocks without developing new physics engine please?

alt text

alt text

I worked on this game for 1.5 month, so yeah, I tried different ways of building tower. Pictures are just an example of how I test these things and have nothing to do with the real project.. (It's actually dead right now because of transition between unity 5.1.1 and 5.3.1)

cmon-unity2.jpg (268.9 kB)
cmon-unity1.jpg (257.6 kB)
Comment
Add comment · Show 1
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 Owen-Reynolds · Feb 29, 2016 at 04:31 PM 1
Share

A search on "Physics Engine Stack Blocks" shows that this is just a tricky problem, and Physics Engines tend to be bad at it. For a normal project, you try to guess the tough parts and make a quick demo (like 15 $$anonymous$$utes to build a 20-block tower and watch the results.) Live and learn.

I solved a version of this using is$$anonymous$$enimatic and OnCollision, but that requires some familiarity with Unity and a chunk of program$$anonymous$$g.

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

4 People are following this question.

avatar image avatar image avatar image avatar image

Related Questions

Addforce for 2d game is not doing anything. 0 Answers

How Do I make my character move? 0 Answers

LookAt() disables the collision of my 2d object 2 Answers

Unity2D Help with rigidbody character movement. 0 Answers

Why is my character slightly floating above the ground? 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