I'm trying to make a simple animation but for some reason when I look at my animation my object, instead of going from right to left, goes from left to right, and then back to left.
Here's a screenshot of the graph editor to show the problem. Between the first two red dots it should be a straight line, but for some reason it's going up and down. I verified to make sure my points were really corners and not some kind of curves and everything seems to be as it should be. I even tried to delete my animation and do it again and it does the same problem.
Would anyone have an idea why it's doing that?
If not, is there a simple way I could do this kind of simple animation using the expression editor? I know the basics of how it works, but I don't know how to say "go from this to this between those two frames and then from this to this between those other two frames" in code.
Ok, I finally managed to fix it. I right clicked on Transform and hit "Separate Values" to edit the X and Y value separately and for some reason it fixed the problem...