Unity Wall Elements in 2D RPG
<p>I am trying to create a top-down viewed 2D RPG. But sadly I am already failing at creating movement-impairing walls. Here are the components of the player (char) and the wall:  </p>

<p><a href="https://i.stack.imgur.com/6XWuw.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/6XWuw.png" alt=""></a></p>

<p>But now if I try to run into the box collider of the wall element I dont get blocked as I expected. What am I doing wrong?</p>

<p><strong>Edit:</strong> updated the image</p>