i constrain local y and z angles for rigidbody, but x-axis rotation clamps at -90 and 90. I have included "is kinematic = true" for rigidbody to check the rotation.
[enter image description enter image description herehere](https://i.stack.imgur.com/N8Y09.jpg)