• 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 vanofthedawn12 · Jul 13, 2012 at 08:58 AM · carcar physics

How to limit collision..

Good day.. I was wondering if there's a way to limit collision effect - I was trying to develop a racing game but when the cars hit each other at high speed, they throw theirselves a lot.. like final destination.

is there a way to make (not disable collision) collision effects more gentle??

Thanks in advance..

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 Fattie · Jul 13, 2012 at 10:17 AM 0
Share

The fundamental problem here is not that you need to "limit collitions".

You just need to learn more about how the amazing PhysX system works!

Enjoy your learning experience, Bunny points the way to the first steps for you. Enjoy!

3 Replies

· Add your reply
  • Sort: 
avatar image
0

Answer by The_Magical_Kiwi · Jul 13, 2012 at 09:40 AM

Try changing the mass in the physics component and/or scale in the transform component of your objects.

Comment
Add comment · Show 2 · 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 vanofthedawn12 · Jul 13, 2012 at 10:01 AM 1
Share

thank you sir!

avatar image The_Magical_Kiwi · Jul 18, 2012 at 01:12 PM 0
Share

Hehe, no probs :)

my answer got down voted though :(

avatar image
1

Answer by Kryptos · Jul 13, 2012 at 09:40 AM

Collision force is relative to speed and mass. A workaround to such behaviour is to increase the mass when the speed reaches some high values.

But keep in mind that the difference of two masses should not be greater than an order of 10 in the general case (order of 100 at the most). Otherwise your object can be send into orbit, or worse and unpredictable behaviours can happen.

Note that the documentation speaks of mass value between 0.1 and 10. But in my experience it is better to use higher values for high speed race game.

Also the bouciness can help absorb part of the energy produced upon collision.

Comment
Add comment · Show 4 · 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 vanofthedawn12 · Jul 13, 2012 at 10:02 AM 0
Share

thank you sir for the answer!

avatar image Kryptos · Jul 13, 2012 at 11:34 AM 0
Share

Why the -1 vote?

avatar image vanofthedawn12 · Jul 13, 2012 at 01:02 PM 0
Share

I'm not the one who did that because i can't sir, when i press the t-up it says please log-in as another user.. maybe anybody else pressed that..

avatar image Bunny83 · Jul 14, 2012 at 12:23 PM 1
Share

I don't understand some people. Downvoting should only be the last resort if there is wrong or misleading information. Also a downvote should always be combined with a comment.

Ins$$anonymous$$d of downvoting you could even edit the answer and correct the information if you think you are qualified to judge the answer.

avatar image
1

Answer by Bunny83 · Jul 13, 2012 at 09:44 AM

The physic material has the greatest effect on the collision response, so play around with the settings. Create a physics material and assign it to your collider.

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 vanofthedawn12 · Jul 13, 2012 at 10:02 AM 0
Share

thank you sir..

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

8 People are following this question.

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

Related Questions

The name 'Joystick' does not denote a valid type ('not found') 2 Answers

Car steering control 1 Answer

Objects on the stage twitch while moving 0 Answers

How can i rotate my car steering wheel in accordance to the wheels? 1 Answer

How do I make a car in unity? 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