Cinemachine virtual camera follow up

Hello! I am encountering a problem with my cinemachine vcam. I have set it up to follow a game object, but it does not follow it properly. Instead, the camera stays behind the object while following it, and the distance between the game object and the cinemachine vcam keeps increasing.
P.S. The object moves automatically. Code:- transform.Translate(0,0,(_speed*Time.deltaTime));
I have attached a video demonstrating the issue, which you can watch at

. Additionally, I have also included some screenshots for your reference. Thank you for your help.




You will need to show your vcam properties

Sure Here are the Screen Shots.
P.S i just started cinemachine so please guide me if i am wrong9783708--1403427--VCam 2.png 9783708--1403430--VCam1.png

It looks to me as though the camera is correctly following the root object of the player, but that you have root motion enabled in the animation, and it pushes the geometry away from the root according to the footsteps. Try disabling Root Motion in the animator.

You can test this hypothesis by replacing the player with a cube or something that has no animation.

PS you might want to change the Binding Mode inside the vcam to World Space, or Simple Follow with World Up. Otherwise the camera position will rotate with the player.

Hello, Sorry for late reply cause I was out of town.

I tried removing the animation from my character and it worked perfectly. Can you tell me how to setup so that it can work perfectly with the animation?

Disable this:

9807846--1408470--upload_2024-5-1_13-27-41.png

Thank you so much… It worked

1 Like