Laggy controls in godot

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By AnindyaRoy

I used the general way of detecting input in godot viz.

if Input.is_action_pressed(“Move Right”):
transform.basis.x -= speed

etc.

My problem is, there is some delay between the time the key is pressed and the movement.

Is there any other way of input detection?

It seems more likely that the problem is somewhere in your code. Can you post the relevant code for review?

jgodfrey | 2020-11-23 15:23