Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | MaximoTG98 |
Hello,
So i’m making a platform game,but i’m having troubles with the move_and_slide function.
What i can see is that the motion on the x axis isn’t going back to 0, so if i move to the left it keeps moving and adding motion to x.
Here’s my code: extends KinematicBody2D#movimiento translates to movement.const speed = - Pastebin.com