I am attaching a 2D-label to a 3D-MeshInstance using script as follow:
var pos = get_translation();
var screen_pos = get_parent().get_node("Camera").unproject_position(pos);
Now I want to generate many of this object, so I try to use a scene to contain it.
But Now my problem is how can I acces to
unproject_position in the main scene?
I am a learner now so please forgive me if I am asking a stupid question, but I really want to get some help. Thanks.