0 votes

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?

asked Oct 31, 2017 in Engine by jsena (22 points)

When an objects says "I have to go now, my planet needs me” is because something is wrong on your logic.

If you can show the movement logic there will be more chances to get an answer.

Check if the y axis value of the velocity is negative :)

Please log in or register to answer this question.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.