game: add weapon base and sword

This commit is contained in:
2025-08-21 00:32:18 +02:00
parent 156da4898e
commit 8bd7bfa406
21 changed files with 200 additions and 163 deletions

View File

@@ -55,6 +55,7 @@ func do_movement(delta: float) -> void:
else:
_do_nav_agent_movement()
func _has_direct_path():
target_cast.target_position = to_local(target.global_position)
target_cast.enabled = true