How can I add movement correction for a 2D platformer?
Hi, so I haven't been able to find much on this topic, mostly because I'm not too sure how to word it. But typically to help a 2D platformer feel better to use, there's some slight movement correction.
What I mean is that if the player walks straight to the right and encounters a small raised tile, rather than colliding with the tile's corner, the player will smoothly walk over it unless the raised tile is too high to step over smoothly. Those of you reading might know this already, but the reason for this is that the player's intention isn't to jump but to just keep moving to the right, and the game acknowledges that and lets the player keep doing so, and as a result the game feels much better to play since it aligns with the player's assumptions.
Is there a way to add some kind of movement correction that works like this? I'm just using Unity's built-in physics btw. Thank you. :)
Your answer
Follow this Question
Related Questions
How to move camera using 2dboxcollider trigger as activation to move 0 Answers
Collecting puzzle pieces in my platformer game 0 Answers
Attaching a gameObject above a rolling ball 1 Answer
running along the x Axis 2.5D 1 Answer
Had to turn off gravity scale, but now player goes through walls 0 Answers