• 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
1
Question by samo8076 · Jul 05, 2012 at 09:22 AM · collisionjumpball

Ball jumping when moving over 2 cubes

Hi, i have created a ball using rigibody, all works great. However if i have two platforms i.e cubes, position them together to make a bigger platform, even through the tops are set the same position and there are no gaps between the platform, the ball jumps a little when rolling over the connected edges.

Any ideas as to why this is happening?

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 henry96 · Jul 06, 2012 at 09:28 AM 0
Share

Can you show your script? And can the ball jump normally when it's not on the connecting edge?

avatar image Linus · Jul 07, 2012 at 04:25 AM 0
Share

And are both cubes same material? And yes please post code, higher chance that someone will test it and give you a solution then.

4 Replies

· Add your reply
  • Sort: 
avatar image
0

Answer by samo8076 · Jul 06, 2012 at 08:56 AM

can anybody help at all, driving me mad lol

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 henry96 · Jul 06, 2012 at 09:32 AM 1
Share

Please do not post something which is not related to the answer as an answer.

avatar image
0

Answer by Jamez5000 · Jul 06, 2012 at 09:42 AM

try intersecting the objects and seeing if it the ball jumps where it intersects first. If that is the case one collider is probably higher than the other.

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
avatar image
0

Answer by samo8076 · Jul 06, 2012 at 09:52 AM

Iv tried instersection and still the same problem.

How do you position the colliders?

I have set the position of the cubes to be the same.

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 Jamez5000 · Jul 07, 2012 at 04:01 AM 0
Share

you should be commenting posts, not creating new answers. In the inspector there is a collider section where you change the dimensions of the collider, you can't miss it..IF you don't know where this is I would consider looking up fundamental tutorials to get you on the right track.

avatar image
0

Answer by Mideno · Nov 22, 2020 at 10:50 AM

I know this question is from several years ago, but I just fixed this problem by using a box collider on an object called "level" in my case, and inside that object I just placed all of the plataforms, also you will need to resize the collider to make it the size of the plataforms.

Basically instead of placing one collider for each plataform, when plataforms are together just place one.

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.

Welcome to Unity Answers

If you’re new to Unity Answers, please check our User Guide to help you navigate through our website and refer to our FAQ for more information.

Before posting, make sure to check out our Knowledge Base for commonly asked Unity questions.

Check our Moderator Guidelines if you’re a new moderator and want to work together in an effort to improve Unity Answers and support our users.

Follow this Question

Answers Answers and Comments

8 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Ball jump on collision problem 1 Answer

Collision problem 0 Answers

Ball bounce problem 1 Answer

Keep Horizontal Momentum after Jump 2 Answers

Determining when on object 1 Answer


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