Minor cleanup.

main
Martin Felis 2024-12-28 16:34:47 +01:00
parent e2c9b14560
commit 6008876da4
1 changed files with 0 additions and 2 deletions

View File

@ -37,8 +37,6 @@ func _process(_delta):
animation_tree.set("parameters/conditions/interact", false)
func _handle_input() -> void:
# Get the input direction and handle the movement/deceleration.
# As good practice, you should replace UI actions with custom gameplay actions.
var input_dir = Input.get_vector("walk_left", "walk_right", "walk_forward", "walk_back")
var direction = Vector3(input_dir.x, 0, input_dir.y).normalized()
if direction: