So I was trying to make a simple Kinematic2D object move.
My code : https://sourceb.in/88Tscg7KiJ
It works, but I have 2 issues.
Why do I need to use 5000 as a multiplying factor with my normalized vector where the example on the Godot page achieves same smooth motion with 500 ?
Why do I need to put the input checking function in the get input function and call it from there ? I had put the code into the physics process function but the kinematic body did not move then. To my knowledge, the physics process function is called at regular intervals so why can't we check input there ?
Sorry, if these questions are noob-ish, I am a beginner (15min experience in Godot and game dev)