Hello,
I’m trying to make a 3rd person orbit camera controlled by right stick of a gamepad and currently have the following components:
-Cinemachine Orbital Follow
-Cinemachine Rotation Composer
-Cinemachine Input Axis Controller (Binded to the Right Stick Input)
-Cinemachine Deoccluder
I have issues with the Deoccluder, I followed the v3 docs but it does not collide with unity terrain and the camera goes trough it.
I have my terrains setup as Terrain layer, enabled avoid obstacles in the Deoccluder settings and added the terrain layer mask for collisions.
I tried to tweak all the other settings but the camera is always clipping into the terrain or getting very close to the character even without any obstacle.
It does seems to work ok with Trees added in the terrain and other mesh gameobjects as it does pull the camera in front of the tree/obstace, but not the terrain itself.