Animate position of virtual camera not working

I’ve been trying for quite some time to animate the position of a cinemachine virtual camera using DoTweens DoMove function.

For some reason no matter what I seem to do the animation takes place but as soon as I set my follow target it snaps the transform position in some strange way.

When i just set the position of the virtual camera to the final position of the animation. The changes seem to work just fine.

I am using a framing transposer on the virtual camera but when i’m animating it the Follow property is empty.

Is there a standard way to do what i’m after? Or some pitfalls in moving a cinemachine camera position using DoTween?

Just looking for a bit of insight into potential no nos when moving a camera position with a Follow target set to null and a FramingTransposer on the body.

I’m not familiar with DoTweens, so can’t say anything specific about that.

Generally, if you have a vcam with just a FramingTransposer and no Follow target, you should be able to animate its position and rotation. Then, when you set the Follow target, I would expect it to snap to the vcam’s preferred position, i.e the one you set up in the vcam inspector with the target at the appropriate XY screen location. The Framing Transposer will do that without changing the rotation of the camera.

What do you mean by “snaps the transform in some strange way”? What does it do? And what behaviour are you looking for?