Added basic chat

This commit is contained in:
2024-01-28 22:08:08 +01:00
parent 75801e21fd
commit a6278cedb1
17 changed files with 182 additions and 22 deletions

View File

@ -6,7 +6,10 @@ extends Node
var move: Vector2
func _input(_event):
func _unhandled_input(_event):
if Global.interacting_with_ui:
return
move = Input.get_vector("move_left", "move_right", "move_forward", "move_backward")
character.direction = (Global.camera.transform.basis * Vector3(move.x, 0, move.y))
character.direction.y = 0