• 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 juntuhen · Jul 02, 2014 at 09:02 AM · collisiongravityspherebouncehole

False collision at the edge of hole when using high gravity value

I'm developing a little board game. I have a board, which I modeled in Blender. The board has round holes in it. Player moves a ball around the board and tries not to drop into the holes. The ball can move very slow or very fast.

I had to increase game's gravity a lot to make fast moving ball drop to a hole. Otherwise the ball just flew over the holes with a little bump. After increasing the gravity, I noticed that sometimes the ball bounces off from the edge of a hole. It's like some false collision and it happens mostly when the ball is moving very slowly.

I created a test project to reproduce the problem. In it I have different kind of holes to test if the vertice count of the hole's edge matters. But it seems that it makes no difference. Holes are made in Blender using a cylinder and a boolean modifier. Holes in this test model have 8, 12, 16, 20, 24, 28, 32 vertices and the last one is smoothed.

Low gravity and low speed, works fine: alt text

High gravity and high speed, works fine: alt text

Low gravity and high speed, ball flies over the hole: alt text

High gravity and low speed, ball bounces from the edge: alt text

So to make this work, I have to fix the bouncing problem or to use default gravity and figure out another solution for fast moving ball. I tried to increase the solver iteration count and min penetration for penalty values from Unity's PhysicsManager to fix the bouncing problem. It may have helped a little, but not solve the problem completely. I'm now running out of ideas how to fix this.

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 aimeeflanagan4 · Jan 06, 2016 at 11:34 AM 0
Share

WAs just wondering how did you make those holes for the ball to fall into I've been trying for ages to do something like this?? Thanks!

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.

Welcome to Unity Answers

The best place to ask and answer questions about development with Unity.

To help users navigate the site we have posted a site navigation guide.

If you are a new user to Unity Answers, check out our FAQ for more information.

Make sure to check out our Knowledge Base for commonly asked Unity questions.

If you are a moderator, see our Moderator Guidelines page.

We are making improvements to UA, see the list of changes.



Follow this Question

Answers Answers and Comments

3 People are following this question.

avatar image avatar image avatar image

Related Questions

Collisions are driving me mad! My sanity is fading fast... 3 Answers

Cube starts shaking when placed on a giant sphere 1 Answer

Special question about collision thingy 0 Answers

Object falling because of gravity and penetrating another object 2 Answers

How do I get a bouncing ball to bounce all around? 0 Answers

  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges