Question by
WanderingKazuma · Jan 16, 2018 at 05:10 AM ·
c#2d-physicscollision2d
2D Platformer Sprite Stands Up When Collision Forced Crouch Should be happening
This seems to be inconsistent, but by jumping, or crouching next to a platform (obstacle) and then moving under it, I've noticed sometimes the player sprite will clip into the platform that he is standing on, as well as the platform that he is supposed to be ducking under. Seems to happen when collision forced crouch is supposed to happen, but if crouch button is held down, then he behaves normally. I am using C# to code the player controller and other scripts in this game.
How would I fix this clipping?
2018-01-16-00h07-16.png
(43.8 kB)
Comment
Your answer
Follow this Question
Related Questions
2D Grid Based Movement, Not Working 0 Answers
How to know what side of platform the player touches? 0 Answers
2d balls stuck in box colliders 1 Answer
Collisions not working in top-down RPG? 0 Answers