u/BramBro123

Image 1 — Cinemachine camera being weird with confines.
Image 2 — Cinemachine camera being weird with confines.
Image 3 — Cinemachine camera being weird with confines.
Image 4 — Cinemachine camera being weird with confines.
Image 5 — Cinemachine camera being weird with confines.
Image 6 — Cinemachine camera being weird with confines.
Image 7 — Cinemachine camera being weird with confines.
Image 8 — Cinemachine camera being weird with confines.

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

u/BramBro123 — 4 days ago