Major Wheel collider problems

i Have a set of 4 wheel colliders. All the masses, springs, slip valus and everything are in the right place. I moved the box colliders of my car object, and now my car, when the play button is hit, will tip onto it's front right wheel (yes, it's trying to balance on one wheel :S). How do I fix this? i have changed the centre of gravity and stuff to try and balance everything, but i still get this problem. How do i fix this?

Try not touching the center of mass at all. Instead, use colliders to resemble your car's shape. The physic engine calculates the center of mass according to the collider's volume and positions. If you need more mass to be concentrated at certain point (i.e. at the engine's location) then add additional colliders internally (overlapping colliders simulate more mass at the overalpping volume).

If you still need to accurately define your center of mass, then create an empty gameobject as child of your main gameobject vehicle. Name it "CenterOfMass". Use the editor to move it to the desired position of the center of mass. Then assign it as center of mass at the Start function:

``````function Start ()
{
var CenterOfMass = transform.Find("CenterOfMass");
rigidbody.centerOfMass = CenterOfMass.localPosition;
}

``````

Make sure you leave the center of mass but spread the wheels out evenly and check the suspension springs because they could be making it bounc over

check this video to solve problem of wheel collider bouncing on unity5