Question by
adiakatos · Mar 12, 2018 at 12:24 PM ·
2d-platformer2d-physics
How do i fix player getting stuck in 2D platformer?,How to fix my 2d player getting stuck in the floor?
I am making a 2D platformer. this is my first time doing so. I added a rigidbody 2D to the player and a 2d box collider. I also added a 2D box collider to the ground. The player gets stuck halfway in the ground. The green guy is the player the red x is an enemy (which has the same problem).the green lines is where the colliders are where they should be.
when-played-and-colliders.png
(125.2 kB)
Comment
Your answer
Follow this Question
Related Questions
Collider gets sometimes stuck at wall 0 Answers
Having my GameObject passing trough floor during one frame ( 2D Platformer ) 1 Answer
How to add force based on surrounding colliders in 2D? 0 Answers
How to move rigidbodies with 2D Character controller (No rigidbody) 1 Answer
2D Platformer Projectile wont face mouse position? 0 Answers