







Cinemachine camera being weird with confines.
Hi, I'm having trouble with configuring my cinemachine camera. I followed a tutorial on how to make a camera follow the player and transition between areas (https://www.youtube.com/watch?v=kV9rVinFyAk & https://www.youtube.com/watch?v=9r9YbHsjSKs) and I haven't had any troubles with it, it works perfectly in the other places but for some reason when I perfectly line up the Polygon Collider 2D with the grid over here it acts weird. But when I extend the size of the Polygon Collider 2D about 0.5-1.0 grid pixel it suddenly works how it's supposed to. The issue with this is that the camera then looks through the walls into the next room which is not something I want. How do I make sure that the camera acts as it should while having the Polygon Collider 2D lined up with the grid? (I wish I could upload videos for how it looks but I can't so I hope these screenshots are understandable