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 NathanMalville · Apr 21, 2015 at 02:44 PM · unity 5rigidbodyupdatefrictionphysic

physical material friction problem with unity 5

Hi guys i updated my next game with unity 5 but sadly i see that physic is very different from unity 4.6.1. It looks the problem is the friction wich seems to don't do his job properly.

In unity 4.6.1, i have a very simple scene where 3 cubes fall on a ground and stay in the same position because of the friction ( with dynamic friction:0.6 and static friction:1 in their physical material)

If i update this scene in unity 5 The friction don't seem to work enough and cubes slide slowly. Even if i put a static and dynamic friction to 1000.

alt text

What's the problem? Is there a problem with the way i use friction? How can i have the same dynamics than in unity4?

Thanks a lot. Nathan

frictionissueunity5.jpg (105.9 kB)
Comment
Add comment · Show 5
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 16, 2015 at 11:38 AM 0
Share

Try a different friction mode. If my memory serves correctly you can multiply the frictions together or add them.

avatar image bdebon meat5000 ♦ · Nov 16, 2015 at 11:46 AM 0
Share

I tried everything and every mode, nothing works. It worked well under Unity 4 but now under Unity 5 it seems to be broken. We are all experiencing this issue and nothing seems to work...

avatar image meat5000 ♦ bdebon · Nov 16, 2015 at 11:57 AM 0
Share

I had this problem under Unity 4 also. Nothing new :P

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

Consider forcing the rigidbodies to sleep below a certain threshold.

Show more comments

2 Replies

· Add your reply
  • Sort: 
avatar image
0

Answer by kubus66 · Sep 07, 2015 at 01:17 PM

@NathanMalville

Had the same issue, it drove me crazy, but I found solution

Edit > Project Settings > Physics

Solver Iteration Count: at least 10 (I use 15)

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 bdebon · Nov 16, 2015 at 11:57 AM 0
Share

Same problem here... But changing the Solver Iteration Count changed nothing unfortunately... Did you find the solution ?

avatar image
0

Answer by NathanMalville · Nov 16, 2015 at 12:14 PM

I not sure to remember how i fixed this problem. It was not about friction mode for sure.

If i remember well, the main problem in my scene was that i made modifications (destroy, ground movement, etc) that affect rigidbodies in an update function (newbie mistake). When i put everything in a fixedUpdate function, to let the engine to update every physics in same time, that fixe my problem.

hope it helps

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

6 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Friction between two rigidbodies 0 Answers

Unity 5 - Sliding Rigidbodies with maximum friction 2 Answers

Compound colliders, what is the best implementation? 0 Answers

Surface interaction between rotating RigidBodies? 0 Answers

How do I change Raycast's direction based on movement input? 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