|Attention||Topic was automatically imported from the old Question2Answer platform.|
|Old Version||Published before Godot 3 was released.|
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?
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.
eons | 2017-11-01 23:19
Check if the y axis value of the velocity is negative
DodoIta | 2017-11-02 09:37