Add_child to root bug

MagicLordMagicLord Posts: 74Member

Hi there,

Once an object is instanced and added to the scene it's position is changed to player position.

When i choose the scene root ("level") to add the instance (add_child), there is no instance visible
while choosing ("anotherspatial ") , the instance is visible, This is a bug right ?
-> Player
-> anotherspatial

scene_root_not_working = get_tree().get_root().get_node("level");
scene_root_working = get_tree().get_root().get_node("level").get_node("anotherspatial");

Sign In or Register to comment.