hello,
I want to expand a nodeA (adding child) from a script attached to this nodeA :
Ok I know it is not possible to do it directly but I cannot understand or make work any suggestion found on the net.
calldeferred produce nothing
requestready():, I got no clue where to put it
func _ready():
var position= Position3D.new()
position.set_name("posi")
add_child(position)
print_tree_pretty()
the most upsetting thing is that printtreepretty print exactly what I want to do. but nothing appear on the right panel
when I use this
call_deferred("add_child",position)
print_tree does not even show any added child
thx