private void OnCollisionEnter(Collision collision) { GetComponent<RigidBody>().freezeRotation = true; }