Limit a rigidbody's rotation

Hi there,

I’m trying it for a while now but can’t find a solution:
I have a vehicle controller and my car is driving over a terrain (with slopes, etc.). I want my car’s rotation to be limited relative to the ground it is moving on. I want to completely disable the possiblity that my car would ever flip - even if it hits an obstacle. So if I hit an obstacle with high speed, my car usually starts rotating and maybe flips over. Is it possible to prevent that?

Try with angular drag.
More angular drag = less rotation

I can also just think of ways to limit the probabilities of flipping, e.g. lower the Center of mass of rigid body.
Only reliable solution I can think of is to constantly measure rotation and apply counteracting forces to the car.
Or a joint to an invisible, non rotating rigid body which moves with the car.