I have a rigidbody on my car that works fine but I have stacks of tires which you can collide with, that tips my car over, is there anyway to freeze its rotations or something? Can anyone help me?
this.rigidbody.centerOfMass = new Vector3 (0, -0.9f, 0);
Under your rigidbody component exist a tab called “Constraints”. Under Constraints you are able to freeze each individual rotation axis. Try messing around with them and see what happens.
NOTE: I believe the constraints only constraints physics behavior. So if you are rotating your car with transform.Rotate();(non-physics behavior) or alike then it will not constraint the rotation axis.
Increasing the mass of the vehicle may also help.