Hey everyone!
I’ve been working with Cinemachine for a couple of weeks now and am loving it. I am having a LOT of issues with the Cinemachine Collider script though. I am currently using a FreeLook camera and have it offset to the right of the player using the Camera Offset script. When doing this though, the main camera moves through geometry likely because its offset from it’s orbits, causing some conflicts.
I’ve attempted to fix this by creating an empty object, offsetting that and having the FreeLook camera follow it. This works ok, but not amazingly, mainly because the camera orbits the player at an offset now too and it looks a little strange.
I’m also having a lot of issues with how the camera collider handles collision with geometry in general. It seems like it can’t decide if its exiting or entering collision when it comes in contact with geometry, and sort of jitters left and right when entering/exiting. It also doesn’t smoothly rotate to face the player when hitting collision either and randomly decides when its going to vs not. I’ve experimented with all the dampening options at length but they seem to fix some things and make others worse.
I guess the main behaviour i’m not seeing and am expecting to see is the camera smoothly rotating to face the follow target as well as smoothly transitioning to get closer to the target object when sliding it along a wall and other geometry such as corners.
I’m wondering if anyone else has experienced all the issues I’ve stated above and if they have any suggestions on how to mitigate/fix any of them.
Thanks!