Basic player controls and aiming

This commit is contained in:
Haze Weathers 2024-08-21 21:02:35 -04:00
parent 56695d303e
commit f5999da412
114 changed files with 6611 additions and 2 deletions

View file

@ -0,0 +1,8 @@
## Returns the path of a node in the scene tree
## Returns the name of the node if the node is not in the tree.
static func path_of(node: Node) -> String:
if node == null:
return ""
if !node.is_inside_tree():
return node.name + " (not in tree)"
return str(node.get_path())