Hi,
I have a very strange problem on my project. I should create a car like in the Unity Car tutorial or the Jcar demo.
I created my car with this hierarchy in the Editor.
- Root Node Object
with rigidbody component - Collider Root
- Colliders GameObject with collider component
- …etc…
- GameObject Car Model
- Wheel
- Wheel
- Body
- Others nodes from my model
- …etc…
- Wheel Colliders GameObject
- WheelCollider Component
- Wheel Colliders GameObject
- WheelCollider Component
If, I use box, sphere or mesh collider component in the gameobject colliders. When I start the scene, the car go in the air and fall few seconds after with the gravity. But collide with the terrain without touch it and stay motionless like that!!!
But, if I use a capsule collider, I don’t have any problem!
In both case, the colliders doesn’t touch wheel colliders and they are in the right dimensions with the mesh size.
If I don’t use a collider into the Colliders GameObject, I don’t have any issue too.
I don’t understand where is the source of my problem. Do you have an idea, please?
Thanks you for your help.
Best Regards
Samuel