When the character moves, it looks like this, a little strange and sometimes it gets worse.
I've already tried all the scripts I found, from my own to Godot's documentation, but this visual problem persists.
I tested it with a community project too, and it persists.
I thought it could be my hardware, however, I have an RTX 2060 and a Ryzen 5, I don't think that's the problem. I have no idea how to solve it, does anyone have any hypotheses?
obs: I'm new to Godot, I just came from Unity
`
extends CharacterBody2D
var run_speed = 350
func get_input():
velocity.x = 0
var right = Input.is_action_pressed('ui_right')
var left = Input.is_action_pressed('ui_left')
if right:
velocity.x += run_speed
if left:
velocity.x -= run_speed
func _physics_process(delta):
get_input()
move_and_slide()
`
where I posted the videos. I couldn't find it on any forum. Sorry