Animation doesn't seem smooth at the end

I’m new to blender, but I have a 40 frame animation using key frames that rotates from z =0 to z= 10 to z=0 to z = -10 and back to z-0.

Although when I loop it I see a short delay at the end even when i run the animation from 1 to 39.

Any idea how to fix this?

Check the graph editor to see the animation curves

Had a look but looks right to me


Managed to fix it, not sure why but the animation curve wasn’t a sin wave like i thought so I had to adjust the slope at the start and end to make it smooth.

You can delete that node that’s in the middle. It’s not really serving any purpose.

Managed to fix it, not sure why but the animation curve wasn’t a sin wave like i thought so I had to adjust the slope at the start and end to make it smooth.

By default, Blender makes all f-curves as ‘S’ curves. The beginning and end flatten out. Set two keyframes to make an object move in a straight line, and it will start slow, then accelerate, and then slow down. You can change this in the User Preferences.

Steve S