I am simulating animation by interping a mesh. Using a timeline and an Ease function, I feed in rotation variables (start and end, just the yaw axis). I want this to flip if the player character switches to the other side of their target. To do this, I multiply the yaw value (as a float) by -1. This happens in the InvertValues function, and happens dynamically whilst I am Easing my rotator.
However, when I am doing this on one side, the values fluctuate between positive and negative and a get an interpolation which starts at either end before meeting in the middle. You can see the rotation values in the log below. Like I said, it functions perfectly on one side, but not on the other.
Any idea what might be calling this? Is there some limitation or principle to using the Ease function that I’m not understanding? Any suggestions would be greatly appreciated.