title: Cannot freeze rotation on an object that has translate function on it
body: <p>I'm building a game, same as the games where rockets follows a plane to destroy it. I have a problem at the rocket. It is 3D and when the game start the rocket is rotating 90 degrees and I don't understand why, and how could be fixed.</p>
  
  <p>I tried to use constrains from rigidbody, in inspector, but those didn't worked.</p>
  
  <p>this is the script that controls the rocket.</p>
  
  <pre><code>public class Move_missle_lookAt : MonoBehaviour
  {
      public Transform mTarget;
      public float mSpeed ;
      const float EPSILON = 0.1f;
  
      // Start is called before the first frame update
      void Start()
      {
  
      }
  
      // Update is called once per frame
      void Update()
      {
          transform.LookAt(mTarget.position);
  
          if ((transform.position - mTarget.position).magnitude &gt; EPSILON)
                transform.Translate(0.0f, 0.0f, mSpeed * Time.deltaTime);
      }
  }
  </code></pre>