Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR GDSCRIPT

godot get global position 3d

for 3D:
global_transform.origin

for 2D:
global_position()
Source by godotengine.org #
 
PREVIOUS NEXT
Tagged: #godot #global #position
ADD COMMENT
Topic
Name
7+3 =