OnCollisionEnter cant work with wheel colliders
Hi. I have a car with 4 wheel colliders(+rigidbody).When they collide with the ground,OnCollisionEnter is not activated but if the car body collides with the ground it is ok.!!! My script is both ground object and root car object(rigidbody object)
Answer by oStaiko · Aug 23, 2016 at 09:56 PM
Wheel colliders are weird. Just throw another box collider on there (that's slightly lower) and have that one run OnCollisionEnter().
wow. It is so weird. I know it and saw in the forums before that put a box collider under it but it is so joke. It is not logical solution. $$anonymous$$y car moves badly and fluctuates!!! but thx. In my opinion, wheel collider has huge problems, unity should solve them or remove wheel colliders. In scripting reference it has been written "OnCollisionEnter message" in wheelcollider!!!!!!!!!!! but cant work. any solutions plz
Your answer
Follow this Question
Related Questions
Question about NavMesh and Rigidbody 0 Answers
Issues Getting my GameObject to both Move Forward and Jump properly. 0 Answers
Problem of stuttering FPS Camera 1 Answer
braketorque making rigidbody sleep 1 Answer
[UNET] Network Transform doesnt work for the host. On Client it works seemless. 0 Answers