cinemachine confiner doesn't confine right on upper boundary,Cinemachine confiner 2D upper bound issue
I'm stumped on an issue with cinemachines confiner. I'm building a top-down 2D game, and I'm using the cinemachine confiner script to confine a virtual camera to a 2D polygon collider. I have some scenes where this works perfectly, then in other scenes, it will only work for some of the colliders. What's really bizarre to me is that when it doesn't work, it only doesn't work for the upper boundary on the collider. Left, right, and down are always fine.
Also, this problem only appeared consistantly once I upgraded to unity 2019.3 (I had the problem once with older unity versions, but restarting unity ended up fixing the issue then).
I have no idea what's going on, it's like the confiner script just doesn't "see" the upper boundary on the collider sometimes. Anyone know what's going on with this?
Answer by MathBeam · Apr 20, 2020 at 01:42 PM
I'm having the exact same issue, Unity 2019.3.10f1. This only happens for the top boundary of the Confine 2D mode.
Your answer
![](https://koobas.hobune.stream/wayback/20220612223748im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Camera stutter when following player 2 Answers
Find and turn off previous camera? 1 Answer
Where do you find camera target on tank game? 0 Answers
Center a Object at hit.point in Camera 2 Answers
Camera Collision Problem 0 Answers