title: Using Vector3.slerp
body: <p>I just want to know if I'm using vector3.slerp correctly as I have some issues.</p>
  
  <p>I have set up a cube in a scene and I want it move smoothly from its current position to one being passed into by the program. Before I was trying to use the slerp I simply had my cube moving from its current point to its new point like this (as I said, the math all works):</p>
  
  <pre><code>cubeFour.transform.localPosition = new Vector3((B2*C1 - B1*C2)/delta,0,(A1*C2 - A2*C1)/delta);  
  </code></pre>
  
  <p>But when I put it in a slerp call, my cube is no longer on the screen. This is how I'm calling it:</p>
  
  <pre><code>Vector3 targetPosition = new Vector3(lerpX, lerpY, lerpZ);
  
  cubeFour.transform.localPosition = Vector3.Slerp(cubeFour.transform.localPosition, targetPosition, Time.deltaTime);
  </code></pre>
  
  <p>LerpX, LerpY &amp; LerpZ are local variables I've set to contain the X, Y &amp; Z of the first Vector3 I created in my first attempt. </p>
  
  <p>Have I set up the slerp correctly or have I made a kerfuffle somewhere?</p>