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 SeriousTangents · Oct 21, 2014 at 11:37 PM · physicsgravitymeshcolliderspherecollidergolf

Golfball sphere collider "Hops" over vertex-joined planes at intersection?

I have a simple sphere collider and a number of miniature golf course 'tiles' with very basic geometry. The ball appears to be hopping over connections between the tiles and getting stuck/rolling against other seams in the tile.

I have standard gravity (-77 on Y). The golfball has a small mass (experimented with ranges from 2 to 4) and both Drag and Angular Drag are set to 0.1 on the rigidbody.

I'm getting the ball to move by using .AddForce to the ball's rigidbody. The code is provided in this thread with no adjustments to the default settings/values: http://forum.unity3d.com/threads/drag-shot-mover-get-your-physics-objects-moving.86472/

The ball moves normally over terrain without incident. Friction slows it down normally and it responds to hilly terrain as I would expect.

The problem arises when I am trying to have it move over or between the golf course prefabs.

I use vertex snapping to ensure the floor/ground planes are level. The tiles are of virtually identical size, using Mesh Colliders identical to their model mesh. Yet, when passing between these meshes, the golfball appears to visibly 'hop' and when going over individual seams/lines, the golfball seems to react. In particular, when on an incline, the ball rolled downhill a small amount and when it came alongside one of the lines, it rolled slowly alongside it rather than continue downward.

alt text

I've researched the issue without success. Any suggestions would be appreciated.

Joseph.

hopping golfball.png (277.6 kB)
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 CrushedPixel · Apr 24, 2017 at 01:59 PM 0
Share

I'm encountering the same issue. Did you find a solution/workaround yet?

avatar image knut3 · Jan 16, 2021 at 12:06 PM 0
Share

I have the same issue. The rolling ball jumps at intersection between planes or boxes

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by Ambroisecorentin_sned · Nov 13, 2017 at 10:52 AM

Hi, did you fix your problem cause i have the same for my mini golf game :)

Thanks

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

5 People are following this question.

avatar image avatar image avatar image avatar image avatar image

Related Questions

gravity problem 1 Answer

Ball bounces when moving with high speed on a surface 0 Answers

How to fix a strange sliding when standing still on a giant spherical planet? 1 Answer

Help with orbits 1 Answer

Falling object, change its angle 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