- Home /
Question by
akguldeniz · Nov 06, 2014 at 03:08 PM ·
oncollisionenterwheelcollider
OnCollisionEnter problem with wheel
Hi all, i have a big trouble with my cars wheel collider. my car calculating impacts and gives penalty to player. Problem is my impact script working with oncollisionenter and all my child colliders efects from it.
when i try to drive my car and when road plane changes it startig calculate. cant i choos spesific child collider for my rigidbody calculations?
Comment
Can you post some code? That'll help folks respond to this, even late.
Best Answer
Answer by akguldeniz · Feb 02, 2015 at 10:08 AM
i found a solution like that. put on damage calculator script on the child body collider object and make my calculatings on them. if i try to do on main object, still calculating wheels pressure as a damage.
Your answer
![](https://koobas.hobune.stream/wayback/20220613170855im_/https://answers.unity.com/themes/thub/images/avi.jpg)