How to make not smooth animation?

Hello, everyone. I am new to unity, and it is first time I get a contact with unity animation system. I am trying to create an animation with different sprites moving, but I do not want it to be smooth, so I want to ask: how can I disable that smoothness?

The picture below depicts my problem and should give and easier understanding of it:

  • The red line shows the line, by which my objects travel during animation;
  • The green line shows how I want my objects to move;
  • The yellow dots shows my middle keyframe location;

As you can see, objects are passing-by the position, which I given them in the middle (2nd) keyframe, but I want them to completly go to this position and then move further.
All objects, which I move in animation, move proportionaly with each other (by the same route)

If you see other mistakes, not dedicated to this problem, which I may am doing, please tell, it would be very helpful for me :slight_smile:

At the bottom of the Animation window… there should be a little selector, on one side it says “Dope Sheet” and the other it says “Curves”

Go to the Curves mode.

Then for the individual key frames that you want to change, right click on the keyframe and select Broken.

Adjust the tangent handles to adjust the shape of the curves. Straight line motions generally work when the broken handles point directly along the line between the key frames.

You may need to insert additional keyframes to make it work.