title: Unable to addForce to my object in Unity3D
body: <p>I've done this code but the object isn't moving forward. Can you help me with this?</p>
  <p>I'm using unity version 2019.4.3f1</p>
  <hr />
  <pre><code>public class Movements : MonoBehaviour
  {
      // A reference to Rigidbody component called &quot;rb&quot;
      public Rigidbody rb;
      public float forwardForce = 10f;
      public float sidewaysForce = 5f;
      
      // Update is called once per frame
      
      void FixedUpdate()
      {
          rb.AddForce(0f , 0f, forwardForce * Time.deltaTime); //Higher the frame rate --&gt; lower the value of force | Time.deltaTime = amount of time since the computer drew last frame
      
          if (Input.GetKey(KeyCode.LeftArrow))
          {
              Debug.Log(&quot;Left&quot;);
              rb.AddForce(-sidewaysForce * Time.deltaTime, 0f, 0f, ForceMode.VelocityChange);
          }
          else if (Input.GetKey(KeyCode.RightArrow))
          {
              Debug.Log(&quot;Right&quot;);
              rb.AddForce(sidewaysForce * Time.deltaTime, 0f, 0f, ForceMode.VelocityChange);
          }
      }
  }
  </code></pre>