Unity Rigidbody membekukan semua rotasi
rigidbody.constraints = RigidbodyConstraints.FreezeRotation;
mehmet köksal
rigidbody.constraints = RigidbodyConstraints.FreezeRotation;