Skip to content

Commit

Permalink
missing file
Browse files Browse the repository at this point in the history
  • Loading branch information
HungryProton committed Jun 3, 2020
1 parent 935a6d3 commit a3150d6
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/common/node_util.gd
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
tool
class_name ConceptGraphNodeUtil


static func get_global_position3(node: Spatial) -> Vector3:
if node.is_inside_tree():
return node.global_transform.origin
else:
return node.transform.origin

0 comments on commit a3150d6

Please sign in to comment.