Sorry I chose a different method, lerp
. VInterpTo
takes the current delta from EventTick. I think you want this event to only happen when you press the S key. EventTick happens all the time. It would be harder to use EventTick and try to figure out when to start and stop moving the Sphere. But a Timeline has a nice start and stop. And the Timeline controls how far between the two vectors you want to go. My timeline is 5 seconds long, and goes from t:0.0,y:0.0 to t:5.0,y1.0.