Sorry for the late response! I was outside the city on weekends. I finished the animation and am pretty happy with the result. But there is one more problem. The thing is that the resulting animation is displayed in the animation tab, but it is not displayed in the render tab. I tend to think that these bugs are related to the fact that I am using the latest version of Blender 4.2, which is not stable.
