title: How to make projectile propelled from object move towards specific point in Unity3d?
body: <p>I have a moving object which will propelled a projectile from it when you press shift key</p>
  
  <p>I want my projectile move to specific point (0,0,10)</p>
  
  <p>I have tried the following code but it doesn't work</p>
  
  <pre><code>if (Input.GetKey("right shift")||Input.GetKey("left shift")) {
              Rigidbody clone;
              clone = Instantiate(projectile1, transform.position, transform.rotation) as Rigidbody;
              clone.velocity=new Vector3(0,0,10);
  </code></pre>
  
  <p>any one can help?</p>