Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 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 DonGato · Jul 08, 2011 at 04:37 PM · physicsrigidbodysphereslide

Rigidbody Sphere slides around when rotating.

Okay I am trying to control a ball using Rigidbody.AddTorque, but I am having issues with the ball sliding around. When I change direction, or start moving from a stop the ball first skids in place before beginning to move in the correct direction. There is a Physics Material on the terrain with all friction values maxed to 1, and the friction combine set to maximum.

So, solutions? As I understand it the issue comes from there being such a small amount of contact between the ball and the terrain, but I don't know how to make it work. I want the ball to be fully physics driven, and to not skid at all when changing directions normally.

Thanks...

EDIT: A good visualization is that currently the ball moves as you would expect it to on an Ice friction...

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 Joshua · Jul 08, 2011 at 04:43 PM 0
Share

$$anonymous$$oving a sphere around like a marble using AddForce always worked like a charm for me, so consider giving that a go. There is also a free demo-marble game in the asset store (I think it's called 5 c# game examples) so you could use that for reference.

avatar image DonGato · Jul 08, 2011 at 05:07 PM 0
Share

I definitely want to use rotation to move, rather than using movement to cause rotation. I did try switching out to AddForce, and didn't like it at all. I will check out that example, though I am using JS, maybe I can glean something from it.

EDIT: Yeah, that example just uses AddForce, giving it that same ickky feeling physics I experienced when I tried it.

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

3 People are following this question.

avatar image avatar image avatar image

Related Questions

How can I slide a cube perfectly over a changing surface? 2 Answers

slide sphere on a slope without rotating 1 Answer

Collision between player and a ball 1 Answer

Rigidbodies not reacting to one another 2 Answers

A sphere with a rigidbody isn't affected by capsule collider if it lands on a plane first. 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