Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | Aryn |
The title is self explanatory! I’m using Godot 3.0.2
Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | Aryn |
The title is self explanatory! I’m using Godot 3.0.2
Reply From: | Footurist |
This is the essence of the difference between local and global position. A local position always gives the position relative to the parent, wehreas global tells you the relative position to the root node.
Relative to parent:
get_position()
Relative to root node:
get_global_position()
Ooh! really thanks
Aryn | 2018-03-11 23:31