extends CharacterBody2D
const SPEED = 200
func _physics_process(delta):
var input_vector = Vector2.ZERO
input_vector.x = Input.get_action_strength("ui_right") - Input.get_action_strength("ui_left")
input_vector.y = Input.get_action_strength("ui_down") - Input.get_action_strength("ui_up")
input_vector = input_vector.normalized() * SPEED
move_and_slide()
I’m pretty new to Godot and ive been having trouble with my character movements, the character stays put in the top left corner of the screen, what did I do wrong?