nprofile1qy2hwumn8ghj7un9d3shjtnyd968gmewwp6kyqpq7jpl9k4nrerqdvz3dda7n6s6ejnm5yjrj60ry9m2tua7kespjk6qrn5y0h (nprofile…5y0h) Take the input direction as a 3D vector and rotate it by the character's global rotation around the y axis, i.e.
var move_direction = input_direction.rotated(Vector3.UP, character.global_rotation.y).normalized()
character.velocity = mive_direction * speed
character.move_and_slide()
Does this solve it or do you mean a different problem?