title: How to fix Unity collision problem with 2D sprites
body: <p>So I've made this game right here: <a href="https://youtu.be/OxJEeOTldcM" rel="nofollow noreferrer">https://youtu.be/OxJEeOTldcM</a></p>
  
  <p>And I'm facing an issue with the maze wall's colliders where, in certain levels (not just the one I'm showing in the video below), the ball goes through the walls when it's being forced against the wall by the movement.
  Here you can see what I'm talking about: <a href="https://youtu.be/dVU3LWKuXJ0" rel="nofollow noreferrer">https://youtu.be/dVU3LWKuXJ0</a></p>
  
  <p>I've already dealt with this and compromised by making the maze's rotation speed a lot slower than I initially intended to. I wanted the maze to rotate as fast as the player's movement, but that made the ball go through every single wall.</p>
  
  <p>So the way I'm creating these levels is this: I have these pre-made PNG mazes, I import them into the level and I apply a Polygon Collider 2D on them. But it seems like that Polygon Collider alone can not properly deal with my game's collisions.</p>
  
  <p>More than this, I started layering some empty game objects with box colliders on some of these walls, trying to make them stronger. This does work, but it's still not enough, and the ball keeps going through some of them.</p>
  
  <p>The ball, as well as the walls, have rigidbodys on them, and I've set their Collision Detection to Continuous, based on some answers I've seen online regarding bad collision detection. Still doesn't fix it.</p>
  
  <p>I've also tried making those maze's walls thicker in Photoshop, but I can't go thicker than they're right now without ruining the space the ball should be moving in, as well as distorting the maze's look.</p>
  
  <p>There has to be a way in which I can fix this bad collisions of Unity. I need the ball to stop going through walls, as this is obviously an essential part of my game.
  I also want to be able to set the maze's rotation back to being as fast as the player's movement, without having to limit its speed, but honestly I'd be happy if I can just fix this collision problem with the current speed.</p>