|
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..
(comments are locked)
|
|
Try changing the mass in the physics component and/or scale in the transform component of your objects. thank you sir!
Jul 13 '12 at 10:01 AM
vanofthedawn12
Hehe, no probs :) my answer got down voted though :(
Jul 18 '12 at 01:12 PM
The_Magical_Kiwi
(comments are locked)
|
|
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. thank you sir for the answer!
Jul 13 '12 at 10:02 AM
vanofthedawn12
Why the -1 vote?
Jul 13 '12 at 11:34 AM
Kryptos
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..
Jul 13 '12 at 01:02 PM
vanofthedawn12
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. Instead of downvoting you could even edit the answer and correct the information if you think you are qualified to judge the answer.
Jul 14 '12 at 12:23 PM
Bunny83
(comments are locked)
|
|
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. thank you sir..
Jul 13 '12 at 10:02 AM
vanofthedawn12
(comments are locked)
|

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!