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 Zarack · Feb 28, 2013 at 12:43 AM · physicsrigidbodyrealisticsleep

Getting 'Real' behavior through physics settings

I've got a random assortment of objects that you'd find on a desk to be used in a scene. All of these objects will eventually interact with one another during one level or the next. I've added collision capabilities using concave, compound, and primitive colliders.

Let's use my pencil as an example. A capsule collider suits the shape quite well and you would expect the rounded bottom to mimic the behavior of a sharp point, and fall over. However, the rigidbody falls asleep before the pencil falls over. So if you can imagine it, there's a razor point pencil just standing straight up after falling. I have tried decreasing the Sleep Velocity and Sleep Angular Velocity to as low as .03 and .02 respectively. Doesn't seem to make a difference in the time it takes for the pencil to fall asleep and the next object to come into play. Rotating it slightly gives you better behavior, but I can't guarantee my users are going to do that. Even a paper-thin business card just stands on its lowest box collider face (any thinner and it doesn't detect collisions properly).

The only thing that seems to help is decrease the Min Penetration For Penalty to 0. But this causes jittery behavior and the pencil eventually falls over, but not until after a long period of 'What the hell is this shaking pencil doing?'

So, any ideas on how to help my objects behave more realistically? Mass? Drag? Slippery materials? I am developing this project for mobile platforms so performance will have to be weighed into the final solution.

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 Zarack · Feb 28, 2013 at 01:02 AM 0
Share

I also have a pair of scissors with colliders more intricate than a simple capsule that just stand on their point. Would it be a center of gravity thing? These scissors are symmetrical, but there is definitely more geo on one side (handle vs blade).

avatar image Zarack · Feb 28, 2013 at 01:08 AM 0
Share

Another fun fact: if I mess with angular drag while the game is running by bringing it up to about 3.0 and then down to zero, it shakes it enough to fall over. Feels like a patch to a bigger issue though. I don't want to shake my objects over, I want them to just fall on their own. I've resorted to turning down the sleep values to .00001, even. BAH.

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by NAKAS · Feb 28, 2013 at 07:14 AM

Do you have physics materials on you objects? i have encountered what you are experiencing when my rigid body was on terrain that didn't have a material assigned to it. high drag or angular drag could also cause that.

Comment
Add comment · 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

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

10 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

Related Questions

Rigidbody not sleeping 1 Answer

Why are my Rigidbodies not sleeping? 0 Answers

How do I change force of gravity for a single object? 4 Answers

How to stop rigidbody.sleep() 2 Answers

Rigidbodies get huge amount of velocity when clipping into other Rigidbodies 2 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