Download

How to get a smooth Vector2D transition?

I’m trying to use the vector2D interp to move between two positions. The problem is, the shorter axis will complete its interp faster than the longer one, meaning the path isn’t a straight line.

Here’s what I mean; the one on the left is what it’s currently doing. The right is what I want. Any help appreciated!

This should give a direct line from a to b. In the timeline create a float that starts in Time = 0, and Value = 0, and ends in Time = (Time to make the move), Value = 1. If you need the timeline to run based on the distance, you can take the variable of the timeline and use a “Set Play Rate”, to speed it up er slow it down.