Unity Rigidbody congele toda rotación
rigidbody.constraints = RigidbodyConstraints.FreezeRotation;
mehmet köksal
rigidbody.constraints = RigidbodyConstraints.FreezeRotation;