- Home /
Question by
YagoTheFrood · Jul 17, 2014 at 03:25 PM ·
2dcollisionplatformerbox collideredge
Pushing against Edge Collider wall stops player from falling
I'm making a platformer with Unity 2D. I set the level colliders with Edge Collider 2D components, and the player has a Box Collider 2D. It works well while detecting collisions with the floor, but if I jump and push against a wall, it stops my fall no matter how high I am. What can I do to prevent this?
Comment
What are your friction settings? What code is pushing against the wall - e.g., AddForce, or $$anonymous$$ovePosition?
I just alter the position of the player's rigidbody2d. Is that bad? Figured it would do since the only collision event is going to be the one between the player's feet and the ground, nothing too complex.