2D Character walks up steep block without needing to jump

Hello.
So I’m currently trying to learn about 2D games and I have this problem (which I haven’t found an answer to yet) that makes the character walk up a vertical angle automatically. But I need it to only be able to go over that block when the player is jumping. Here is a video.
Thank you.

Hey there @Sune_Wittrup! Are you using a character controller? If so there is a certain height things can be stepped up onto, you can find this setting in your character movement component.
image

Hope this helps!

1 Like