Virtual Camera distance has a position limit

Potentially a bug, but in Unity version 2020.3.f1 (LTS) with Cinemachine 2.7.3, The camera distance value in the 3rd person follow body of the camera has a limiting value of 2, where it is at the same z location as my player.
Values greater than 2 wont do anything to the camera position after being in line with the player, while values below 2 will bring the camera forward.

Values greater than 2 compared to values less than 2 for camera distance.


This issue only came about after I updated the Unity version to the current version I have now, so it may as well be a bug

Could it be that the camera is colliding with something (UI perhaps)?
Try turning the Camera Collision Filter to Nothing**.**

7061209--838747--upload_2021-4-21_2-6-45.png

If this solves it, then search for the GameObjects that collided with the camera and Tag them, then use the Ignore Tag attribute to filter them out from the camera collision detection.

2 Likes

Yes this worked thx!

1 Like