I have a 2d platformer, I use rigidbody2d for the player.
I want to make stairs but I cant do it realistic. what I did was to create a rotated boxcollider2d, the problems are:
- when the players walk down the stairs, it’s not really like he’s walking down the stairs, it’s more like he’s skipping them or jumping over the stairs.
- when the player stands on the stairs and there is no horizontal keyboard input, the player is sliding down the stairs.
- If I move the player up the stairs with the key and then I release the key, the player makes a small jump.
Any help?
Thanks!