Camera movement

Hi im making an animation. but when i add two keyframes, when the camera interpolates between them it keeps rotating the camera off to one side unpredictably. im not sure why its doing that or how to fix it. The weird thing is its not consistent either.
how i got to that point is i added a keyframe on the first frame of the animation.
Then i used the fly mode on the camera to move the camera farther back. but i just did a straight line back. i didn’t rotate the camera. but for some reason, when blender interpolates the frames it adds rotation into the animation. even though i never keyframed that into the animation.

sorry if the question is hard to understand.
Animation2.blend (1.2 MB)
first frame

middle frame that blender added rotation to

last frame

Hi, there isn’t any rotation between f120 and f272. If you look at the curves in a graph editor, you’ll see they are flat. However, your location curves are shaped differently from one another because you have other keyframes just out of range (on f119 and f273) that affect the bézier shape. What I think you’re seeing is the location interpolation. If you want to have a mostly linear camera truck, either delete the keyframes on either side of the active range (I suspect they’re meant as different shots, but there are ways to do that), or shape your curves using bézier handles or inserting more keyframes. In either case, you should work within the graph editor.

How would you recommend doing different shots with the same camera?
I know i could use different cameras but i didn’t want to use that method.
and is there an easy workflow to avoid the bezier curves effecting each other?

Thanks

With different cameras, and timeline markers to switch between them.
https://docs.blender.org/manual/en/latest/animation/markers.html#bind-camera-to-markers

Bézier curves don’t affect each other. Nearby points on the same Bézier curve affect the general shape of the curve. You can break tangents (=handles) of any given keyframe by hitting V and choosing a different handle type. For more info I’m going to refer you to the manual https://docs.blender.org/manual/en/latest/editors/graph_editor/fcurves/editing.html