object rotation with rigidbody component

how can I suppose, when I press a key, I rotate the object 30 degrees along the X axis, but using the rigidbody component when I’m on the object

In FixedUpdate:

Quaternion rotX30 = Quaternion.Euler(30, 0, 0);

rigidbody.MoveRotation(rotX30 * rigidbody.rotation);

See, it’s pretty simple! The order of the multiplication is important though, always end with the most local rotation.