So, I'm making a top down RPG.
Everything's going excellent, but this problem is quite annoying. Now, when the character moves against the wall, the player jitters back and forth. I'm guessing it's because the player is trying to move into the wall, and then the wall collision is pushing it back, which makes an annoying back and forth movement. My question is obviously, how do I stop this from happening?
PS: I'm using transform.translate to move the player, and I'm using C#.
EDIT: I'm also using a 2D Rigidbody, and 2Dbox colliders on both.