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
0
Question by ABerlemont · May 19, 2014 at 10:35 AM · physicsphysics2dball

Physic object in a moving bucket

Hey !

I was wondering if it was normal that Unity can't handle a physicalized object in a moving obstacle properly.

Here is my example

Everything here is setup as default. 2DRigibody & 2DColider. And you can see that all the sphere are overlapping everytime the "bucket" change direction. Every sphere should normally push one another and everything should end up not moving in the cup when it's full ... ?

Is it a matter of setting the proper values ? Or is it impossible to do with Unity's physics ? I tried to change the mass but it doesn't do anything.

Are there alternative to have a more "simple" management of physic in Unity ?

Many thanks !

Comment
Add comment · Show 6
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 Noob_Vulcan · May 19, 2014 at 10:47 AM 0
Share

I presume that you don't want the behavior like in video. k...this is simple physics .When car accelerates we tend to move back and when brakes are applied we move forward. Values has to do nothing with it.

To prevent this you will have to remove rigid-body from the spheres after some time.

avatar image ABerlemont · May 19, 2014 at 11:22 AM 0
Share

But if the bucket rotate after a while it won't fall :) I understand why the spheres are moving when there is a movement. What I don't want is the overlap of the objects compressed by the acceleration.

avatar image Noob_Vulcan · May 19, 2014 at 11:42 AM 0
Share

The spheres must fall when u rotate the bucket .If you don't want that behavior then you will have to remove rigid body or set is$$anonymous$$inematic=true . This is the only way u can achieve that u want,else unity physics will be applied on the spheres.

avatar image Noob_Vulcan · May 19, 2014 at 11:46 AM 0
Share

for eg. after spawning a sphere u can set rigidbody2D.is$$anonymous$$inematic=true after 1 sec or some time

avatar image ABerlemont · May 19, 2014 at 01:36 PM 0
Share

Yes I want to ball to fall. I said that because you suggested that I should remove the rigidbody after a while. Without rigidbody = no physic = no falling after the bucket rotation :)

Would "is$$anonymous$$inematic = true" also remove the physic from the object ?

Show more comments

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

21 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

Related Questions

Profiler mystery with Physics2d 0 Answers

Disable weight "inheritance" when using HingeJoint2D? 1 Answer

Best way to achieve Sonic style physics? 0 Answers

Platformer2D Player sticks to platform corners 0 Answers

How can I slow the velocity of my player without it affecting fall speed? 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