Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | congbinh75 |
I’m a newbie and I have a question.
I’m making a simple platformer in Godot 2D to get used to using the engine.
My character using KinematicBody2D. I added some scripts to move it around but I found that the character moves a bit weird. It moves forward a little bit when I press the key and moves backward when I release the key.
Thank you in advance.
Please share the code you’re using for the player movement.
kidscancode | 2018-08-02 15:14
Sorry but i have lost project file. I think that my problem was cause by normalizing the “move” vector which was used in move_and_slide()
.
Thank you anyway.
congbinh75 | 2019-08-10 05:21