Hello!
I've had a visual bug in my game where if the player holds down the dash key while against a wall, it will display the middle frame of the running animation. I had evented a system that would switch the sprite whenever that key is pressed.
It's not game breaking, but it does look pretty bad.
Is there a way to check if the player is touching a wall?
I thought about using terrain tags, but then it you couldn't run alongside the wall.
Thank you!
I've had a visual bug in my game where if the player holds down the dash key while against a wall, it will display the middle frame of the running animation. I had evented a system that would switch the sprite whenever that key is pressed.
It's not game breaking, but it does look pretty bad.
Is there a way to check if the player is touching a wall?
I thought about using terrain tags, but then it you couldn't run alongside the wall.
Thank you!