Rigidbody doesn't rotate after collision

I’m new to Unity physics and I’ve created a test scene where I have an object (a car model) with a collider and a rigidbody, and another object (an obstacle, also with a collider) positioned below the car (the latter hovers in the air at the start of the scene). The obstacle isn’t placed centrally below the car but a little to the side so that when I play the scene and the car falls down it should collide with the obstacle, bounce off of it and rotate.

In fact, it does fall, it does bounce off (or at least slide on the side of the obstacle :P) but it never rotates (it’s up vector stays up). I don’t know why it works that way, probably I setup something wrongly. I’ve tried both box collider and mesh collider for the car object. The obstacle is unity primitive capsule.

Under the rigidbody component in the inspector you have the option to freeze rotation. Is this checked?

I’m assuming this is because there is no physics material on either object so the rigidbody doesn’t flip since there is little friction… Have you tried adding them?

Well, this is embarassing. I’ve just found out the culprit was my own script (it messed with the car’s rotation). I’m posting this as an answer as this is what solved my problem (fixing the script) but I know it’s just realizing my own mistake. :stuck_out_tongue:

Thanks everyone for taking time to try to help me.