title: Velocity and AddForce() are not working in Unity
body: <p>In my FPS Game, I am trying to make my player throw a grenade. I know there are similar questions like this, but the posts are old and they the answers did not help me at all. When I tried to make my grenade throw using the AddForce() method, the grenade merely spawned right in front of the player, like the AddForce() method was never called. The same happened when I set its velocity to a value. It seems like the grenade won't move at all! I have made sure that:</p>
  
  <ul>
  <li>The grenade is NOT Kinematic</li>
  <li>It doesn't work with both gravity on and off</li>
  <li>No Positions/Rotations are frozen</li>
  <li>There is a rigid body attatched</li>
  <li>There isn't a character controller attached to the grenade</li>
  <li>The mass is only one</li>
  </ul>
  
  <p>My code is below:  </p>
  
  <pre><code>using UnityEngine;
  using System.Collections;
  using UnityEngine.UI;
  
  
  
  public class Script : MonoBehaviour {
      [SerializeField] GameObject grenade;
      public int throwForce = 30;
      Vector3 spawnPosition;
  
  // Use this for initialization
  void Start () {
          instantiateVariables ();
  }   
      void instantiateVariables(){
  
  
  
      }
      void throwGrenade(){
  
          print (spawnPosition);
          GameObject tempGrenade = (GameObject)   Instantiate (grenade, spawnPosition, transform.rotation);
      Vector3 direction = new Vector3(transform.forward.x, transform.forward.y, transform.forward.z );
  
          Rigidbody rb = grenade.GetComponent&lt;Rigidbody&gt; ();          
      if (rb  != null){
      rb.velocity = direction.normalized * 10f;
          Destroy (tempGrenade, 10);
      }
      else {
          Debug.LogError ("There is no rigid body on your cube!");
      }
  
      }
  // Update is called once per frame
  void Update () {
  
  
      spawnPosition = transform.forward + transform.position;
      print (spawnPosition);
          if (Input.GetMouseButtonDown (1)) {
              throwGrenade ();
          }
  
  }
  
  
  }
  </code></pre>
  
  <p>Inspector:</p>
  
  <p><a href="https://i.stack.imgur.com/ZvjzE.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ZvjzE.jpg" alt="Inspector"></a></p>