KinematicBody2D problem when using velocity.x
I'm making a platformer game and I'm using the KinematicBody2D demo with some changes. For the rolling I'm applying some force using velocity.x = ROLL_FORCE but when the player tries to roll into a slope the player jumps instead of just moving foward (like the image below).
I'm getting an B instead of an A
How can I solve this?