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 Moohasha · May 26, 2014 at 04:41 PM · physicsroll a ballphysics material

Good Physics Materials For Rolling Ball

I'm trying to better understand Unity's physics engine by making a simple game with a ball that rolls down ramps and around platforms. The user controls the direction in which the ball moves using the arrow keys, which applies torque to the ball, causing it to roll.

On a flat surface, this works pretty well, but I've noticed that if I roll the ball down a ramp, it reaches a pretty low maximum velocity (about 3.5). I've found that I can increase the velocity it reaches by decreasing the dynamic friction on my ball's physics material, but this gives me less control when moving it (it becomes slippery).

I'd like something like a basket ball rolling across a wooden floor. Even though a basket ball has a high amount of friction on its surface, if I roll it down a ramp (~30 degrees), it will keep accelerating the whole way down. Yet if I torque a basket ball, it would change direction pretty quickly.

How can I achieve this effect in Unity? I've tried playing with the physics material of the ground (default Metal material from Standard Assets) and on my ball (custom material based on the Bouncy one), but either the ball rolls fast and slides, or its grippy but rolls really slow.

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 Moohasha · May 26, 2014 at 05:09 PM 0
Share

I guess what confuses me is that in real physics, friction should have a negligible affect on how an object rolls across a surface. A smooth metal ball and a basketball will roll down a hill at about the same speed. Angular velocity should be influenced by drag, but reducing my ball's drag to 0 seems to have no effect.

1 Reply

· Add your reply
  • Sort: 
avatar image
1
Best Answer

Answer by Moohasha · May 26, 2014 at 05:15 PM

Ok, the solution had NOTHING to do with my physic materials. I had to increase the Max Angular Velocity in my project's PhysicsManager. I'm still confused about why increasing/decreasing the dynamic friction had an influence on the speed at which the ball rolled, but at least I was able to fix it.

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

20 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

Related Questions

Bouncing ball off wall problem 0 Answers

Hi guys, I need your opinion regarding physics simulations in unity. 2 Answers

Marble rapidly loses momentum after rolling down ramp, then rolls indefinitely 0 Answers

Roll-a-Ball enemy ball AI 1 Answer

Physics Material Returning Wrong Friction Value 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