- Home /
Unity 2D character can slightly go through wall.
I think it might have to do with my players rigidbody but whenever I hold the move button towards the wall the player will slightly lodge itself in the wall. I do have a kinematic rigidbody attached to the wall because its part of a tilemap and I'm using a composite collider. My box collider is the correct size on both objects. To move my character I change the velocity of the rigidbody if that could affect it. Does anyone know what might be causing this problem? Sorry if I didn't provide enough info.
Your answer
Follow this Question
Related Questions
Unity2D: How to get an object to move along another objects shape? 2 Answers
Can a Platform effector work on a circle collider2D? 2 Answers
Make the bullet in a 2d Top Down shooter get destroyed after passing mouse position 2 Answers
Can I create boundaries around my level without using box colliders? 3 Answers