• 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 Mortennobel · Jul 18, 2011 at 09:34 AM · collisionphysicsjumpsphereball

Ball jump on collision problem

I'm creating a game with a ball. When the ball collides with the wall it makes a little jump (see picture below). The normal of the wall segment is correct. The wall has a mesh collider and the ball a sphere collider.

How can I remove (or reduce) this jump? I think the jumping is related to angular velocity (it disappear when I freeze angular rotation) however I believe that the angular velocity make the ball behave in a realistic way (except for the jumping).

Here are some physics settings I have changed:

Max Angular Velocity: 700 (Default is 7)

alt text

Comment
Add comment
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

1 Reply

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

Answer by Chris D · Jul 18, 2011 at 08:49 PM

It looks to me like the problem is friction on the wall. That is realistic movement (take a ball and roll it against a wall; it will not stay perfectly in contact with the floor) so you'll have to play around with some things to make it look the way you want.

Reduce the friction to zero on the wall (assuming a physics material of some sort) and see if that takes care of it.

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 Mortennobel · Jul 18, 2011 at 09:05 PM 0
Share

Thanks - tweaking the physics materials a bit more helped :) I can see why the ball would like to 'climb' a bit up the wall and make a jump - but the problem was it seemed like a unrealistic high jump.

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

Moving a ball around a maze 3 Answers

Ball bounce problem 1 Answer

Strange sphere/physics rolling behaviour when scaled 1 Answer

How can I make a physics object jump a given height on collision regardless of current velocity? 1 Answer

Simulating the graphics of a rolling 3D ball in a 2D game 2 Answers

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