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.
oParent
----oChild(SPRITE)
I have 1024x600 dimension screen. My parent is setposition(500,500) and my child setposition(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 getglobaltransform and getglobaltransformwithcanvas().origin and tried to see a some global values but it didnt work.
I believe there isnt one but what i want to get getglobalpositiononcanvas(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.