title: Prefab instantiated but animation not occuring at given position
body: <p>I am making a 2d endless runner game in unity.</p>
  
  <p>In that i have obstacle which has a sprite within an empty game object and has an animation component.</p>
  
  <p>I have made these obstacles as prefabs and want to instantiate them by code at different positions.</p>
  
  <p>so i use</p>
  
  <pre><code>Instantiate(Resources.Load("myPrefabsName") , new Vector3(0, ypos, -5), Quaternion.identity);
  </code></pre>
  
  <p><code>ypos</code> is a float which has the y coordinate stored.</p>
  
  <p>now this piece of code works but problem is that the Prefabs instantiates at the position where the animation is done and performs its animation as well.</p>
  
  <p>I mean when i made the animation, i made it as to move its position from (0,0,-5) to (6,0,-5).</p>
  
  <p>which works fine but because i instantiate at a diff position (i.e (0, ypos, -5))
  it is not present at (0, ypos, -5) but is present at (0,0,0) animating towards (6,0,0).</p>
  
  <p>How can i get it animating from (0, ypos, -5) to (6, ypos, -5)?</p>