|Topic was automatically imported from the old Question2Answer platform.
I had some exprerience in unity. There was an easy func ScreentoWorldCoord(pos) in there … Now what i want to know:
Lets say i have a parent node and it have a child node.
I have 1024x600 dimension screen. My parent is set_position(500,500) and my child set_position(12,-200) which means my children will have a global position in screen coord (512,300) …But its local position is (12,-200) this is what i understand from researching.
I want to know is there any function that will give me children’ global position in screen which in this case (512,300) .I tried get_global_transform and get_global_transform_with_canvas().origin and tried to see a some global values but it didnt work.
I believe there isnt one but what i want to get get_global_position_on_canvas(children_pos) kind of thing. There are some transform matrices informations but not sure how will i transform my position and see its global position.